Skip to content

Commit f02fee2

Browse files
JPEWdevamschuma-ntap
authored andcommitted
NFS: Fix typo in nomigration mount option
The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt <[email protected]> Cc: [email protected] #3.7 Signed-off-by: Anna Schumaker <[email protected]>
1 parent c05cefc commit f02fee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nfs/super.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ static int nfs_parse_mount_options(char *raw,
13321332
mnt->options |= NFS_OPTION_MIGRATION;
13331333
break;
13341334
case Opt_nomigration:
1335-
mnt->options &= NFS_OPTION_MIGRATION;
1335+
mnt->options &= ~NFS_OPTION_MIGRATION;
13361336
break;
13371337

13381338
/*

0 commit comments

Comments
 (0)