aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/sb.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/sb.h')
-rw-r--r--fs/nilfs2/sb.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/fs/nilfs2/sb.h b/fs/nilfs2/sb.h
index 7a17715f215..d7346c949c8 100644
--- a/fs/nilfs2/sb.h
+++ b/fs/nilfs2/sb.h
@@ -34,8 +34,6 @@ struct nilfs_sc_info;
34 * NILFS super-block data in memory 34 * NILFS super-block data in memory
35 */ 35 */
36struct nilfs_sb_info { 36struct nilfs_sb_info {
37 /* Mount options */
38 unsigned long s_mount_opt;
39 uid_t s_resuid; 37 uid_t s_resuid;
40 gid_t s_resgid; 38 gid_t s_resgid;
41 39
@@ -68,18 +66,4 @@ static inline struct nilfs_sc_info *NILFS_SC(struct nilfs_sb_info *sbi)
68 return sbi->s_sc_info; 66 return sbi->s_sc_info;
69} 67}
70 68
71/*
72 * Bit operations for the mount option
73 */
74#define nilfs_clear_opt(sbi, opt) \
75 do { (sbi)->s_mount_opt &= ~NILFS_MOUNT_##opt; } while (0)
76#define nilfs_set_opt(sbi, opt) \
77 do { (sbi)->s_mount_opt |= NILFS_MOUNT_##opt; } while (0)
78#define nilfs_test_opt(sbi, opt) ((sbi)->s_mount_opt & NILFS_MOUNT_##opt)
79#define nilfs_write_opt(sbi, mask, opt) \
80 do { (sbi)->s_mount_opt = \
81 (((sbi)->s_mount_opt & ~NILFS_MOUNT_##mask) | \
82 NILFS_MOUNT_##opt); \
83 } while (0)
84
85#endif /* _NILFS_SB */ 69#endif /* _NILFS_SB */