1
2
3
4
5
6
7
8
9
10
11
12
13 #ifndef _LINUX_EXT2_FS_SB
14 #define _LINUX_EXT2_FS_SB
15
16 #define EXT2_MAX_GROUP_DESC 8
17 #define EXT2_MAX_GROUP_LOADED 8
18
19
20
21
22 struct ext2_sb_info {
23 unsigned long s_frag_size;
24 unsigned long s_frags_per_block;
25 unsigned long s_inodes_per_block;
26 unsigned long s_frags_per_group;
27 unsigned long s_blocks_per_group;
28 unsigned long s_inodes_per_group;
29 unsigned long s_desc_per_block;
30 unsigned long s_groups_count;
31 struct buffer_head * s_sbh;
32 struct ext2_super_block * s_es;
33 struct buffer_head * s_group_desc[EXT2_MAX_GROUP_DESC];
34 unsigned short s_loaded_inode_bitmaps;
35 unsigned short s_loaded_block_bitmaps;
36 unsigned long s_inode_bitmap_number[EXT2_MAX_GROUP_LOADED];
37 struct buffer_head * s_inode_bitmap[EXT2_MAX_GROUP_LOADED];
38 unsigned long s_block_bitmap_number[EXT2_MAX_GROUP_LOADED];
39 struct buffer_head * s_block_bitmap[EXT2_MAX_GROUP_LOADED];
40 int s_rename_lock;
41 struct wait_queue * s_rename_wait;
42 unsigned long s_mount_opt;
43 unsigned short s_mount_state;
44 };
45
46 #endif