summaryrefslogtreecommitdiff
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:39:04 +0000
commita896292c19e7ae9b8375d7fd24a7b5b47503543d (patch)
treee671ba763701ec3fbef0fd4fbb0c03373ad78c41 /fs
parentaffd159b23c4b4e6be2a574eeba963da85b74214 (diff)
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 ddce94ce8142..51bf1f9ab287 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -1339,7 +1339,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;
/*