From patchwork Mon Jan 14 04:00:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fanchaoting X-Patchwork-Id: 1971051 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9D4A63FD86 for ; Mon, 14 Jan 2013 04:00:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754869Ab3ANEA0 (ORCPT ); Sun, 13 Jan 2013 23:00:26 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:15445 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754863Ab3ANEA0 (ORCPT ); Sun, 13 Jan 2013 23:00:26 -0500 X-IronPort-AV: E=Sophos;i="4.84,465,1355068800"; d="scan'208";a="6579693" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 14 Jan 2013 11:58:20 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id r0E40NcK004164; Mon, 14 Jan 2013 12:00:23 +0800 Received: from [127.0.0.1] ([10.167.225.240]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2013011411594279-893201 ; Mon, 14 Jan 2013 11:59:42 +0800 Message-ID: <50F382EF.2070309@cn.fujitsu.com> Date: Mon, 14 Jan 2013 12:00:47 +0800 From: fanchaoting User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: "linux-nfs@vger.kernel.org" , "Myklebust, Trond" Subject: [PATCH] it maybe can't disable migration when mount with nomigration X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/01/14 11:59:43, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/01/14 11:59:43, Serialize complete at 2013/01/14 11:59:43 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org when mount with nomigration it maybe can't disable migration. notice commit 896526174ce2b6a773e187ebe5a047b68230e2c 'Introduce "migration" mount option' Signed-off-by: Fan Chaoting --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.10.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 2e7e8c8..e72efc8 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1304,7 +1304,7 @@ static int nfs_parse_mount_options(char *raw, mnt->options |= NFS_OPTION_MIGRATION; break; case Opt_nomigration: - mnt->options &= NFS_OPTION_MIGRATION; + mnt->options &= ~NFS_OPTION_MIGRATION; break; /*