NFS: Fix typo in nomigration mount option
commit f02fee227e
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>
pull/10/head
parent
d628ac8abd
commit
afaacc000e
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue