aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-12-15 20:30:48 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-12-15 20:30:48 -0500
commita2595b8aa67011419dae26b47e474f46df902989 (patch)
treed44d79256f92f32b7958a04e89907f7e1a755767 /fs/ext4/ext4.h
parent673c610033a8202c037ecd068c7a235495acda17 (diff)
ext4: Add second mount options field since the s_mount_opt is full up
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index ddae3c435138..17baecbf8cda 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -908,6 +908,13 @@ struct ext4_inode_info {
908#define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \ 908#define test_opt(sb, opt) (EXT4_SB(sb)->s_mount_opt & \
909 EXT4_MOUNT_##opt) 909 EXT4_MOUNT_##opt)
910 910
911#define clear_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 &= \
912 ~EXT4_MOUNT2_##opt
913#define set_opt2(sb, opt) EXT4_SB(sb)->s_mount_opt2 |= \
914 EXT4_MOUNT2_##opt
915#define test_opt2(sb, opt) (EXT4_SB(sb)->s_mount_opt2 & \
916 EXT4_MOUNT2_##opt)
917
911#define ext4_set_bit ext2_set_bit 918#define ext4_set_bit ext2_set_bit
912#define ext4_set_bit_atomic ext2_set_bit_atomic 919#define ext4_set_bit_atomic ext2_set_bit_atomic
913#define ext4_clear_bit ext2_clear_bit 920#define ext4_clear_bit ext2_clear_bit
@@ -1073,6 +1080,7 @@ struct ext4_sb_info {
1073 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */ 1080 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */
1074 struct buffer_head **s_group_desc; 1081 struct buffer_head **s_group_desc;
1075 unsigned int s_mount_opt; 1082 unsigned int s_mount_opt;
1083 unsigned int s_mount_opt2;
1076 unsigned int s_mount_flags; 1084 unsigned int s_mount_flags;
1077 ext4_fsblk_t s_sb_block; 1085 ext4_fsblk_t s_sb_block;
1078 uid_t s_resuid; 1086 uid_t s_resuid;