summaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2017-11-07 16:25:47 -0600
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-11-17 16:43:52 -0500
commitf02fee227e5f21981152850744a6084ff3fa94ee (patch)
tree191c16af3fc577e4a7dd8e5ea0f370799c640dac /fs/nfs/super.c
parentc05cefcc72416a37eba5a2b35f0704ed758a9145 (diff)
downloadlinux-f02fee227e5f21981152850744a6084ff3fa94ee.tar.gz
linux-f02fee227e5f21981152850744a6084ff3fa94ee.tar.bz2
linux-f02fee227e5f21981152850744a6084ff3fa94ee.zip
NFS: Fix typo in nomigration mount option
The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Cc: stable@vger.kernel.org #3.7 Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index da19c723a244..43cadb28db6e 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -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;
/*