diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2017-11-07 16:25:47 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-30 08:37:20 +0000 |
commit | ab33df42eb3c53711c487c839d36379ffca3aeb9 (patch) | |
tree | eab7a1716ccc4c7f37cc3a038d5fee6b51c178ec /fs | |
parent | 4e23be6169767d21f95d5bfd5df8a2c6274ee2d7 (diff) | |
download | linux-stable-ab33df42eb3c53711c487c839d36379ffca3aeb9.tar.gz linux-stable-ab33df42eb3c53711c487c839d36379ffca3aeb9.tar.bz2 linux-stable-ab33df42eb3c53711c487c839d36379ffca3aeb9.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index f1268280244e..3149f7e58d6f 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1322,7 +1322,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; /* |