RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / linux / squashfs_fs_i.h
blob798891a2102fba533872a2b1ca6c579009cdb262
1 #ifndef SQUASHFS_FS_I
2 #define SQUASHFS_FS_I
3 /*
4 * Squashfs
6 * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007
7 * Phillip Lougher <phillip@lougher.org.uk>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2,
12 * or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 * squashfs_fs_i.h
26 struct squashfs_inode_info {
27 long long start_block;
28 unsigned int offset;
29 union {
30 struct {
31 long long fragment_start_block;
32 unsigned int fragment_size;
33 unsigned int fragment_offset;
34 long long block_list_start;
35 } s1;
36 struct {
37 long long directory_index_start;
38 unsigned int directory_index_offset;
39 unsigned int directory_index_count;
40 unsigned int parent_inode;
41 } s2;
42 } u;
43 struct inode vfs_inode;
45 #endif