From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753678AbdF2PXR (ORCPT ); Thu, 29 Jun 2017 11:23:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:46462 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753586AbdF2PWz (ORCPT ); Thu, 29 Jun 2017 11:22:55 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 50DF122BD3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=chao@kernel.org From: Chao Yu To: jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu Subject: [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs Date: Thu, 29 Jun 2017 23:20:46 +0800 Message-Id: <20170629152046.2610-2-chao@kernel.org> X-Mailer: git-send-email 2.13.0.90.g1eb437020 In-Reply-To: <20170629152046.2610-1-chao@kernel.org> References: <20170629152046.2610-1-chao@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chao Yu Don't clear old mount option before parse new option during ->remount_fs like other generic filesystems. Signed-off-by: Chao Yu --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Yu Subject: [PATCH 2/2] f2fs: reuse original mount option in ->remount_fs Date: Thu, 29 Jun 2017 23:20:46 +0800 Message-ID: <20170629152046.2610-2-chao@kernel.org> References: <20170629152046.2610-1-chao@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1dQbHZ-00058s-7k for linux-f2fs-devel@lists.sourceforge.net; Thu, 29 Jun 2017 15:23:01 +0000 Received: from mail.kernel.org ([198.145.29.99]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dQbHY-0008WE-Gb for linux-f2fs-devel@lists.sourceforge.net; Thu, 29 Jun 2017 15:23:01 +0000 In-Reply-To: <20170629152046.2610-1-chao@kernel.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: jaegeuk@kernel.org Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net From: Chao Yu Don't clear old mount option before parse new option during ->remount_fs like other generic filesystems. Signed-off-by: Chao Yu --- 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot