This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / linux / squashfs_fs_i.h
1 #ifndef SQUASHFS_FS_I
2 #define SQUASHFS_FS_I
3 /*
4  * Squashfs
5  *
6  * Copyright (c) 2002, 2003, 2004, 2005 Phillip Lougher <phillip@lougher.demon.co.uk>
7  *
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.
12  *
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.
17  *
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.
21  *
22  * squashfs_fs_i.h
23  */
24
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