Commit f02fee22 authored by Joshua Watt's avatar Joshua Watt Committed by Anna Schumaker

NFS: Fix typo in nomigration mount option

The option was incorrectly masking off all other options.
Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
Cc: stable@vger.kernel.org #3.7
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment