OSDN Git Service

nfs: Don't take a reference on fl->fl_file for LOCK operation
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / fs / nfs / super.c
index f126828..3149f7e 100644 (file)
@@ -1322,7 +1322,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;
 
                /*