linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH] f2fs: remove default option setting in remount
@ 2018-09-18  6:23 Chengguang Xu
  2018-09-18 13:20 ` Chao Yu
  0 siblings, 1 reply; 10+ messages in thread
From: Chengguang Xu @ 2018-09-18  6:23 UTC (permalink / raw)
  To: jaegeuk, yuchao0; +Cc: Chengguang Xu, linux-f2fs-devel

Currently we set default value to options before parsing remount options,
it will cause unexpected change of options which were specified in first
mount.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
---
 fs/f2fs/super.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 00d512cd4bf2..89ea19466e80 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -1499,8 +1499,6 @@ static int f2fs_remount(struct super_block *sb, int *flags, char *data)
 			clear_sbi_flag(sbi, SBI_NEED_SB_WRITE);
 	}
 
-	default_options(sbi);
-
 	/* parse mount options */
 	err = parse_options(sb, data);
 	if (err)
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-10-19  2:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-18  6:23 [PATCH] f2fs: remove default option setting in remount Chengguang Xu
2018-09-18 13:20 ` Chao Yu
2018-09-18 13:47   ` cgxu519
2018-09-19 14:02     ` Chao Yu
2018-09-19 23:54       ` cgxu519
2018-09-20  6:29         ` Chao Yu
2018-09-22 14:40           ` cgxu519
2018-09-25  7:41             ` Chao Yu
2018-10-18  5:28               ` Chengguang Xu
2018-10-19  2:15                 ` Chao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).