Revert "f2fs: fix to clean previous mount option when remount_fs"
authorChao Yu <yuchao0@huawei.com>
Wed, 5 Jul 2017 04:17:24 +0000 (12:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 7 Jul 2017 17:34:46 +0000 (10:34 -0700)
Don't clear old mount option before parse new option during ->remount_fs
like other generic filesystems.

This reverts commit 26666c8a4366debae30ae37d0688b2bec92d196a.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c

index f27c141cd8aacde21ef7bdc49dfcb991d20dcb3a..af472f7968d092fff5b61a3e80710ea4a4796b93 100644 (file)
@@ -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 */