Skip to content

Commit

Permalink
Revert "f2fs: fix to clean previous mount option when remount_fs"
Browse files Browse the repository at this point in the history
Don't clear old mount option before parse new option during ->remount_fs
like other generic filesystems.

This reverts commit 26666c8.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
  • Loading branch information
Chao Yu authored and Jaegeuk Kim committed Jul 7, 2017
1 parent b855bf0 commit 6ac851b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/f2fs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6ac851b

Please sign in to comment.