提交 f02fee22 编写于 作者: J Joshua Watt 提交者: Anna Schumaker

NFS: Fix typo in nomigration mount option

The option was incorrectly masking off all other options.
Signed-off-by: NJoshua Watt <JPEWhacker@gmail.com>
Cc: stable@vger.kernel.org #3.7
Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
上级 c05cefcc
......@@ -1332,7 +1332,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;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册