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:40:45 +0000 |
commit | afaacc000e07b084e37f5b0a0f79ce62a399f0c9 (patch) | |
tree | 0888fb62e294b1116537ddb9cf6279734cf2d4bb /fs/nfs | |
parent | d628ac8abdfc0d3631cb76d6fc1f0b80d988b34f (diff) | |
download | linux-stable-afaacc000e07b084e37f5b0a0f79ce62a399f0c9.tar.gz linux-stable-afaacc000e07b084e37f5b0a0f79ce62a399f0c9.tar.bz2 linux-stable-afaacc000e07b084e37f5b0a0f79ce62a399f0c9.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/nfs')
-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 c9d24bae3025..216f67d628b3 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; /* |