diff options
Diffstat (limited to 'fs/sysv/inode.c')
-rw-r--r-- | fs/sysv/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index 858fb72f9e0f..1c8bf9453a71 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c | |||
@@ -70,7 +70,7 @@ static void sysv_put_super(struct super_block *sb) | |||
70 | { | 70 | { |
71 | struct sysv_sb_info *sbi = SYSV_SB(sb); | 71 | struct sysv_sb_info *sbi = SYSV_SB(sb); |
72 | 72 | ||
73 | if (!(sb->s_flags & MS_RDONLY)) { | 73 | if (!sb_rdonly(sb)) { |
74 | /* XXX ext2 also updates the state here */ | 74 | /* XXX ext2 also updates the state here */ |
75 | mark_buffer_dirty(sbi->s_bh1); | 75 | mark_buffer_dirty(sbi->s_bh1); |
76 | if (sbi->s_bh1 != sbi->s_bh2) | 76 | if (sbi->s_bh1 != sbi->s_bh2) |