Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _CRAMFS_FS_SB |
2 | #define _CRAMFS_FS_SB | ||||
3 | |||||
4 | /* | ||||
5 | * cramfs super-block data in memory | ||||
6 | */ | ||||
7 | struct cramfs_sb_info { | ||||
8 | unsigned long magic; | ||||
9 | unsigned long size; | ||||
10 | unsigned long blocks; | ||||
11 | unsigned long files; | ||||
12 | unsigned long flags; | ||||
13 | }; | ||||
14 | |||||
15 | static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb) | ||||
16 | { | ||||
17 | return sb->s_fs_info; | ||||
18 | } | ||||
19 | |||||
20 | #endif |