diff options
Diffstat (limited to 'fs/ext2/super.c')
-rw-r--r-- | fs/ext2/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index 12a7916cfa9d..a43f9adcc811 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c | |||
@@ -1158,7 +1158,6 @@ static void ext2_sync_super(struct super_block *sb, struct ext2_super_block *es, | |||
1158 | mark_buffer_dirty(EXT2_SB(sb)->s_sbh); | 1158 | mark_buffer_dirty(EXT2_SB(sb)->s_sbh); |
1159 | if (wait) | 1159 | if (wait) |
1160 | sync_dirty_buffer(EXT2_SB(sb)->s_sbh); | 1160 | sync_dirty_buffer(EXT2_SB(sb)->s_sbh); |
1161 | sb->s_dirt = 0; | ||
1162 | } | 1161 | } |
1163 | 1162 | ||
1164 | /* | 1163 | /* |
@@ -1191,8 +1190,6 @@ void ext2_write_super(struct super_block *sb) | |||
1191 | { | 1190 | { |
1192 | if (!(sb->s_flags & MS_RDONLY)) | 1191 | if (!(sb->s_flags & MS_RDONLY)) |
1193 | ext2_sync_fs(sb, 1); | 1192 | ext2_sync_fs(sb, 1); |
1194 | else | ||
1195 | sb->s_dirt = 0; | ||
1196 | } | 1193 | } |
1197 | 1194 | ||
1198 | static int ext2_remount (struct super_block * sb, int * flags, char * data) | 1195 | static int ext2_remount (struct super_block * sb, int * flags, char * data) |