1 #ifndef _HPFS_FS_SB
2 #define _HPFS_FS_SB
3
4 struct hpfs_sb_info {
5 ino_t sb_root;
6 unsigned sb_fs_size;
7 unsigned sb_bitmaps;
8 unsigned sb_dirband_size;
9 unsigned sb_dmap;
10 unsigned sb_n_free;
11 unsigned sb_n_free_dnodes;
12 uid_t sb_uid;
13 gid_t sb_gid;
14 umode_t sb_mode;
15 unsigned sb_lowercase : 1;
16 unsigned sb_conv : 2;
17 };
18
19 #define s_hpfs_root u.hpfs_sb.sb_root
20 #define s_hpfs_fs_size u.hpfs_sb.sb_fs_size
21 #define s_hpfs_bitmaps u.hpfs_sb.sb_bitmaps
22 #define s_hpfs_dirband_size u.hpfs_sb.sb_dirband_size
23 #define s_hpfs_dmap u.hpfs_sb.sb_dmap
24 #define s_hpfs_uid u.hpfs_sb.sb_uid
25 #define s_hpfs_gid u.hpfs_sb.sb_gid
26 #define s_hpfs_mode u.hpfs_sb.sb_mode
27 #define s_hpfs_n_free u.hpfs_sb.sb_n_free
28 #define s_hpfs_n_free_dnodes u.hpfs_sb.sb_n_free_dnodes
29 #define s_hpfs_lowercase u.hpfs_sb.sb_lowercase
30 #define s_hpfs_conv u.hpfs_sb.sb_conv
31
32 #endif