Skip to contentSkip to conversation

Revert "f2fs: fix to clean previous mount option when remount_fs"

PATCH New Chao Yu 1 participant 1 message Jul 5, 2017 F2FS file system

lore
Share & tools
lore

Chao Yu

author maintainer
#0 lore raw

PATCH 1/1 Revert "f2fs: fix to clean previous mount option when remount_fs"

From: Chao Yu <[email protected]>

Don't clear old mount option before parse new option during ->remount_fs like other generic filesystems.

This reverts commit 26666c8a4366debae30ae37d0688b2bec92d196a.

---
 fs/f2fs/super.c | 1 -
 1 file changed, 1 deletion(-)
fs/f2fs/super.c +0 -1
index f27c141cd8aa..af472f7968d0 100644
@@ -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 */
Signature · 1 line
2.13.0.90.g1eb437020