From: Joshua Watt Date: Tue, 7 Nov 2017 22:25:47 +0000 (-0600) Subject: NFS: Fix typo in nomigration mount option X-Git-Tag: v3.16.54~43 X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88c6656c94e1a38edc01dd6ed59136250b2d83b5;p=linux NFS: Fix typo in nomigration mount option commit f02fee227e5f21981152850744a6084ff3fa94ee upstream. The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt Signed-off-by: Anna Schumaker Signed-off-by: Ben Hutchings --- diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 3fd83327bbad..b04563f7be69 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1319,7 +1319,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; /*