diff options
| author | Joshua Watt <jpewhacker@gmail.com> | 2017-11-07 17:25:47 -0500 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 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, | |||
| 1332 | mnt->options |= NFS_OPTION_MIGRATION; | 1332 | mnt->options |= NFS_OPTION_MIGRATION; |
| 1333 | break; | 1333 | break; |
| 1334 | case Opt_nomigration: | 1334 | case Opt_nomigration: |
| 1335 | mnt->options &= NFS_OPTION_MIGRATION; | 1335 | mnt->options &= ~NFS_OPTION_MIGRATION; |
| 1336 | break; | 1336 | break; |
| 1337 | 1337 | ||
| 1338 | /* | 1338 | /* |
