diff options
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 39bb52c9693e..c77b0bd2c711 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -3935,10 +3935,8 @@ static int ext4_do_update_inode(handle_t *handle, | |||
3935 | ext4_update_dynamic_rev(sb); | 3935 | ext4_update_dynamic_rev(sb); |
3936 | EXT4_SET_RO_COMPAT_FEATURE(sb, | 3936 | EXT4_SET_RO_COMPAT_FEATURE(sb, |
3937 | EXT4_FEATURE_RO_COMPAT_LARGE_FILE); | 3937 | EXT4_FEATURE_RO_COMPAT_LARGE_FILE); |
3938 | sb->s_dirt = 1; | ||
3939 | ext4_handle_sync(handle); | 3938 | ext4_handle_sync(handle); |
3940 | err = ext4_handle_dirty_metadata(handle, NULL, | 3939 | err = ext4_handle_dirty_super(handle, sb); |
3941 | EXT4_SB(sb)->s_sbh); | ||
3942 | } | 3940 | } |
3943 | } | 3941 | } |
3944 | raw_inode->i_generation = cpu_to_le32(inode->i_generation); | 3942 | raw_inode->i_generation = cpu_to_le32(inode->i_generation); |