cramfs_fs_sb.h 343 B

1234567891011121314151617181920
  1. #ifndef _CRAMFS_FS_SB
  2. #define _CRAMFS_FS_SB
  3. /*
  4. * cramfs super-block data in memory
  5. */
  6. struct cramfs_sb_info {
  7. unsigned long magic;
  8. unsigned long size;
  9. unsigned long blocks;
  10. unsigned long files;
  11. unsigned long flags;
  12. };
  13. static inline struct cramfs_sb_info *CRAMFS_SB(struct super_block *sb)
  14. {
  15. return sb->s_fs_info;
  16. }
  17. #endif