1 /* Modified by Broadcom Corp. Portions Copyright (c) Broadcom Corp, 2012. */
7 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
8 * Phillip Lougher <phillip@lougher.demon.co.uk>
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2,
13 * or (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 struct squashfs_inode_info
{
31 unsigned int xattr_size
;
47 struct inode vfs_inode
;
51 static inline struct squashfs_inode_info
*squashfs_i(struct inode
*inode
)
53 return list_entry(inode
, struct squashfs_inode_info
, vfs_inode
);