diff options
Diffstat (limited to 'fs/sysv/inode.c')
-rw-r--r-- | fs/sysv/inode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index da20b48d350f..cd80316302cc 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c | |||
@@ -72,6 +72,9 @@ static void sysv_put_super(struct super_block *sb) | |||
72 | { | 72 | { |
73 | struct sysv_sb_info *sbi = SYSV_SB(sb); | 73 | struct sysv_sb_info *sbi = SYSV_SB(sb); |
74 | 74 | ||
75 | if (sb->s_dirt) | ||
76 | sysv_write_super(sb); | ||
77 | |||
75 | if (!(sb->s_flags & MS_RDONLY)) { | 78 | if (!(sb->s_flags & MS_RDONLY)) { |
76 | /* XXX ext2 also updates the state here */ | 79 | /* XXX ext2 also updates the state here */ |
77 | mark_buffer_dirty(sbi->s_bh1); | 80 | mark_buffer_dirty(sbi->s_bh1); |