diff options
Diffstat (limited to 'fs/ext2/balloc.c')
-rw-r--r-- | fs/ext2/balloc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c index a8cbe1bc6ad4..a9bba1e39200 100644 --- a/fs/ext2/balloc.c +++ b/fs/ext2/balloc.c | |||
@@ -165,7 +165,6 @@ static void release_blocks(struct super_block *sb, int count) | |||
165 | struct ext2_sb_info *sbi = EXT2_SB(sb); | 165 | struct ext2_sb_info *sbi = EXT2_SB(sb); |
166 | 166 | ||
167 | percpu_counter_add(&sbi->s_freeblocks_counter, count); | 167 | percpu_counter_add(&sbi->s_freeblocks_counter, count); |
168 | sb->s_dirt = 1; | ||
169 | } | 168 | } |
170 | } | 169 | } |
171 | 170 | ||
@@ -180,7 +179,6 @@ static void group_adjust_blocks(struct super_block *sb, int group_no, | |||
180 | free_blocks = le16_to_cpu(desc->bg_free_blocks_count); | 179 | free_blocks = le16_to_cpu(desc->bg_free_blocks_count); |
181 | desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count); | 180 | desc->bg_free_blocks_count = cpu_to_le16(free_blocks + count); |
182 | spin_unlock(sb_bgl_lock(sbi, group_no)); | 181 | spin_unlock(sb_bgl_lock(sbi, group_no)); |
183 | sb->s_dirt = 1; | ||
184 | mark_buffer_dirty(bh); | 182 | mark_buffer_dirty(bh); |
185 | } | 183 | } |
186 | } | 184 | } |