diff mbox

it maybe can't disable migration when mount with nomigration

Message ID 50F382EF.2070309@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

fanchaoting Jan. 14, 2013, 4 a.m. UTC
when mount with nomigration it maybe can't disable migration.

notice commit 896526174ce2b6a773e187ebe5a047b68230e2c
'Introduce "migration" mount option'

Signed-off-by: Fan Chaoting <fanchaoting@cn.fujitsu.com>
---
 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 mbox

Patch

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;

                /*