diff options
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r-- | fs/ext4/mballoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 12b3bc026a68..d9d267181ddc 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -2812,7 +2812,7 @@ ext4_mb_mark_diskspace_used(struct ext4_allocation_context *ac, | |||
2812 | err = ext4_handle_dirty_metadata(handle, NULL, gdp_bh); | 2812 | err = ext4_handle_dirty_metadata(handle, NULL, gdp_bh); |
2813 | 2813 | ||
2814 | out_err: | 2814 | out_err: |
2815 | sb->s_dirt = 1; | 2815 | ext4_mark_super_dirty(sb); |
2816 | brelse(bitmap_bh); | 2816 | brelse(bitmap_bh); |
2817 | return err; | 2817 | return err; |
2818 | } | 2818 | } |
@@ -4680,7 +4680,7 @@ do_more: | |||
4680 | put_bh(bitmap_bh); | 4680 | put_bh(bitmap_bh); |
4681 | goto do_more; | 4681 | goto do_more; |
4682 | } | 4682 | } |
4683 | sb->s_dirt = 1; | 4683 | ext4_mark_super_dirty(sb); |
4684 | error_return: | 4684 | error_return: |
4685 | if (freed) | 4685 | if (freed) |
4686 | dquot_free_block(inode, freed); | 4686 | dquot_free_block(inode, freed); |