aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Watt <[email protected]>2017-11-07 16:25:47 -0600
committerAnna Schumaker <[email protected]>2017-11-17 16:43:52 -0500
commitf02fee227e5f21981152850744a6084ff3fa94ee (patch)
tree191c16af3fc577e4a7dd8e5ea0f370799c640dac
parentc05cefcc72416a37eba5a2b35f0704ed758a9145 (diff)
NFS: Fix typo in nomigration mount option
The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt <[email protected]> Cc: [email protected] #3.7 Signed-off-by: Anna Schumaker <[email protected]>
-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;
/*