projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05cefc
)
NFS: Fix typo in nomigration mount option
author
Joshua Watt
<jpewhacker@gmail.com>
Tue, 7 Nov 2017 22:25:47 +0000
(16:25 -0600)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Fri, 17 Nov 2017 21:43:52 +0000
(16:43 -0500)
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>
fs/nfs/super.c
patch
|
blob
|
history
diff --git
a/fs/nfs/super.c
b/fs/nfs/super.c
index da19c723a244932dd0319e14c8649ad8fd1c7dc6..43cadb28db6ef5a2f4e4a1d98eb6d98b1d9207b3 100644
(file)
--- 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;
/*