Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1677866

[PATCH 2/2] f2fs: reuse original mount option in ->remount_fs

From Chao Yu <chao@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs
Date 2017-06-29 17:30 +0200
Message-ID <tXJyj-P8-35@gated-at.bofh.it> (permalink)
References <tXJyj-P8-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chao Yu <yuchao0@huawei.com>

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

Signed-off-by: Chao Yu <yuchao0@huawei.com>
---
 fs/f2fs/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index f27c141cd8aa..af472f7968d0 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -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 */
-- 
2.13.0.90.g1eb437020

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] f2fs: skip ->writepages for {mete,node}_inode during recovery Chao Yu <chao@kernel.org> - 2017-06-29 17:30 +0200
  [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs Chao Yu <chao@kernel.org> - 2017-06-29 17:30 +0200
    Re: [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs Jaegeuk Kim <jaegeuk@kernel.org> - 2017-07-01 09:50 +0200
      Re: [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs Chao Yu <chao@kernel.org> - 2017-07-01 18:20 +0200

csiph-web