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:
Chao Yu 2017-07-05 12:17:24 +08:00 коммит произвёл Jaegeuk Kim
Родитель b855bf0e16
Коммит 6ac851ba89
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -846,7 +846,6 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data)
clear_sbi_flag(sbi, SBI_NEED_SB_WRITE);
}
sbi->mount_opt.opt = 0;
default_options(sbi);
/* parse mount options */