diff options
author | Joshua Watt | 2017-11-07 16:25:47 -0600 |
---|---|---|
committer | Anna Schumaker | 2017-11-17 16:43:52 -0500 |
commit | f02fee227e5f21981152850744a6084ff3fa94ee (patch) | |
tree | 191c16af3fc577e4a7dd8e5ea0f370799c640dac | |
parent | c05cefcc72416a37eba5a2b35f0704ed758a9145 (diff) |
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>
-rw-r--r-- | fs/nfs/super.c | 2 |
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; /* |