summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2017-11-07 16:25:47 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-30 08:35:50 +0000
commit982a47b3ba76c04b2c56ec6f236623b5e2698d82 (patch)
tree6c22171e394e7aaef333b3e74882ad1a865e5d54 /fs
parent491e4e3b12701cf54458f4ffe7dd76c64c37f076 (diff)
downloadlinux-stable-982a47b3ba76c04b2c56ec6f236623b5e2698d82.tar.gz
linux-stable-982a47b3ba76c04b2c56ec6f236623b5e2698d82.tar.bz2
linux-stable-982a47b3ba76c04b2c56ec6f236623b5e2698d82.zip
NFS: Fix typo in nomigration mount option
commit f02fee227e5f21981152850744a6084ff3fa94ee upstream. The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
-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 368d9395d2e7..dbdc2d2f91cf 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1321,7 +1321,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;
/*