Commit 6ac851ba authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim

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 26666c8a.
Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent b855bf0e
...@@ -846,7 +846,6 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data) ...@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment