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