Revert "f2fs: fix to clean previous mount option when remount_fs"
Don't clear old mount option before parse new option during ->remount_fs
like other generic filesystems.
This reverts commit 26666c8a43
.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
@@ -846,7 +846,6 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data)
|
|||||||
clear_sbi_flag(sbi, SBI_NEED_SB_WRITE);
|
clear_sbi_flag(sbi, SBI_NEED_SB_WRITE);
|
||||||
}
|
}
|
||||||
|
|
||||||
sbi->mount_opt.opt = 0;
|
|
||||||
default_options(sbi);
|
default_options(sbi);
|
||||||
|
|
||||||
/* parse mount options */
|
/* parse mount options */
|
||||||
|
Reference in New Issue
Block a user