1a96ba00226795862b5e1cb7d8242d4576c374adaplougher#ifndef SQUASHFS_FS_I
2a96ba00226795862b5e1cb7d8242d4576c374adaplougher#define SQUASHFS_FS_I
3a96ba00226795862b5e1cb7d8242d4576c374adaplougher/*
4a96ba00226795862b5e1cb7d8242d4576c374adaplougher * Squashfs
5a96ba00226795862b5e1cb7d8242d4576c374adaplougher *
6a96ba00226795862b5e1cb7d8242d4576c374adaplougher * Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008
7a96ba00226795862b5e1cb7d8242d4576c374adaplougher * Phillip Lougher <phillip@lougher.demon.co.uk>
8a96ba00226795862b5e1cb7d8242d4576c374adaplougher *
9a96ba00226795862b5e1cb7d8242d4576c374adaplougher * This program is free software; you can redistribute it and/or
10a96ba00226795862b5e1cb7d8242d4576c374adaplougher * modify it under the terms of the GNU General Public License
11a96ba00226795862b5e1cb7d8242d4576c374adaplougher * as published by the Free Software Foundation; either version 2,
12a96ba00226795862b5e1cb7d8242d4576c374adaplougher * or (at your option) any later version.
13a96ba00226795862b5e1cb7d8242d4576c374adaplougher *
14a96ba00226795862b5e1cb7d8242d4576c374adaplougher * This program is distributed in the hope that it will be useful,
15a96ba00226795862b5e1cb7d8242d4576c374adaplougher * but WITHOUT ANY WARRANTY; without even the implied warranty of
16a96ba00226795862b5e1cb7d8242d4576c374adaplougher * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17a96ba00226795862b5e1cb7d8242d4576c374adaplougher * GNU General Public License for more details.
18a96ba00226795862b5e1cb7d8242d4576c374adaplougher *
19a96ba00226795862b5e1cb7d8242d4576c374adaplougher * You should have received a copy of the GNU General Public License
20a96ba00226795862b5e1cb7d8242d4576c374adaplougher * along with this program; if not, write to the Free Software
21a96ba00226795862b5e1cb7d8242d4576c374adaplougher * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22a96ba00226795862b5e1cb7d8242d4576c374adaplougher *
23a96ba00226795862b5e1cb7d8242d4576c374adaplougher * squashfs_fs_i.h
24a96ba00226795862b5e1cb7d8242d4576c374adaplougher */
25a96ba00226795862b5e1cb7d8242d4576c374adaplougher
26a96ba00226795862b5e1cb7d8242d4576c374adaplougherstruct squashfs_inode_info {
27f006b96e65d7092838983913afbd69fd8199d793plougher	u64		start;
28a96ba00226795862b5e1cb7d8242d4576c374adaplougher	int		offset;
29a96ba00226795862b5e1cb7d8242d4576c374adaplougher	union {
30a96ba00226795862b5e1cb7d8242d4576c374adaplougher		struct {
31f006b96e65d7092838983913afbd69fd8199d793plougher			u64		fragment_block;
32a96ba00226795862b5e1cb7d8242d4576c374adaplougher			int		fragment_size;
33a96ba00226795862b5e1cb7d8242d4576c374adaplougher			int		fragment_offset;
34f006b96e65d7092838983913afbd69fd8199d793plougher			u64		block_list_start;
35a96ba00226795862b5e1cb7d8242d4576c374adaplougher		};
36a96ba00226795862b5e1cb7d8242d4576c374adaplougher		struct {
37f006b96e65d7092838983913afbd69fd8199d793plougher			u64		dir_idx_start;
38a96ba00226795862b5e1cb7d8242d4576c374adaplougher			int		dir_idx_offset;
39a96ba00226795862b5e1cb7d8242d4576c374adaplougher			int		dir_idx_cnt;
40a96ba00226795862b5e1cb7d8242d4576c374adaplougher			int		parent;
41a96ba00226795862b5e1cb7d8242d4576c374adaplougher		};
42a96ba00226795862b5e1cb7d8242d4576c374adaplougher	};
43a96ba00226795862b5e1cb7d8242d4576c374adaplougher	struct inode	vfs_inode;
44a96ba00226795862b5e1cb7d8242d4576c374adaplougher};
45a96ba00226795862b5e1cb7d8242d4576c374adaplougher#endif
46