GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / fs / squashfs / squashfs_fs_i.h
blobc9e6951ebacd41db385fb67ca310d9023443a466
1 /* Modified by Broadcom Corp. Portions Copyright (c) Broadcom Corp, 2012. */
2 #ifndef SQUASHFS_FS_I
3 #define SQUASHFS_FS_I
4 /*
5 * Squashfs
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.
24 * squashfs_fs_i.h
27 struct squashfs_inode_info {
28 u64 start;
29 int offset;
30 u64 xattr;
31 unsigned int xattr_size;
32 int xattr_count;
33 union {
34 struct {
35 u64 fragment_block;
36 int fragment_size;
37 int fragment_offset;
38 u64 block_list_start;
40 struct {
41 u64 dir_idx_start;
42 int dir_idx_offset;
43 int dir_idx_cnt;
44 int parent;
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);
55 #endif