From patchwork Tue Nov 7 22:25:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Watt X-Patchwork-Id: 10047307 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7743A60360 for ; Tue, 7 Nov 2017 22:26:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A8CB29C6C for ; Tue, 7 Nov 2017 22:26:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F89929D3B; Tue, 7 Nov 2017 22:26:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E227629C6C for ; Tue, 7 Nov 2017 22:26:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752204AbdKGW0L (ORCPT ); Tue, 7 Nov 2017 17:26:11 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:57035 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752134AbdKGW0K (ORCPT ); Tue, 7 Nov 2017 17:26:10 -0500 Received: by mail-it0-f66.google.com with SMTP id r127so4205149itb.5 for ; Tue, 07 Nov 2017 14:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=jv9937QzL6ssSD5BZQl+Lo4URFzO40m19/EAn8D1Bi4=; b=UNwG6mFaRmuqvp37Lms66fOS4VmZLxers5FJ19cx9moXniaW8Q3mD8vVOCACdzZoK0 9Z2ze35XShxTLcip7tPdCF2fbMm1sL40Mo5X1EWvtejBw0Y1Wdxn8HlqW0/xOUicKnbp iGbcHS28KKzUalYf+3EFL6ZwmhUUzfvQgrx27+V8l7BOfPggeue2gk3QBM/pnBX1Ye30 mIHaUyJbQVBbm7qTFcia88DHlP8rUACAvuQB7fQ7zCk4JN2RfexMy7iTjMrMhgAEBl/l 26mHWrsy/J5NMKbmVn+FIrwkoKdabr77gcZMMRFPppq5Pm1ZizUxtTpFnLRj5NBYD8rJ GdxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jv9937QzL6ssSD5BZQl+Lo4URFzO40m19/EAn8D1Bi4=; b=uibrdMySNHXmR/BLRuCmpsL85xoUCqNSRkAAGH8EZ3MKh94wkzflQsf0ldx2iEE2u2 6pTDWn8ucYCCs6cET99P1dhhC1UseqZavLhZEgEjFNYaDYqBb1y9SfKGLpCVNRnkD/L9 wF6sYF4XL5O9OA5jupzlHfX1nkpQkHVF6K3sS4oc8BNhwWwhQG1ip+SjrdvkKuNhPDl/ runmkXi7wZo08zHjVPzf2Oz0uHCojOabMZTtK3FwSSb02ImFx47MNCg7L6wUKL3oMdOE n5wzsmvC6tmyWRTneLbnHI9BZbHh7TdcqgHiVmzosyXnEIt9Wu2CbffopHS9H10NcNPH Qzcg== X-Gm-Message-State: AJaThX5xS/XkeD2+ST+oCy+z4FRxIfvz/+uvdCwPdFAtES2cjnUThXOV O7dxOEbFkIFUysHlWksKNIg= X-Google-Smtp-Source: ABhQp+Rd3T+HOcHOK9UcoS5nhQARqwVFnZo5zA4XV1zY7qVRI3nG0YW3+FIQ4OE1YKJ5ozDzwQZKgg== X-Received: by 10.36.141.65 with SMTP id w62mr1101557itd.152.1510093570015; Tue, 07 Nov 2017 14:26:10 -0800 (PST) Received: from ola-842mrw1.ad.garmin.com ([204.77.163.55]) by smtp.googlemail.com with ESMTPSA id q191sm8086896itb.1.2017.11.07.14.26.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Nov 2017 14:26:09 -0800 (PST) From: Joshua Watt X-Google-Original-From: Joshua Watt To: Trond Myklebust , Anna Schumaker , linux-nfs@vger.kernel.org Cc: Joshua Watt Subject: [PATCH] NFS: Fix typo in nomigration mount option Date: Tue, 7 Nov 2017 16:25:47 -0600 Message-Id: <20171107222547.10425-1-JPEWhacker@gmail.com> X-Mailer: git-send-email 2.13.6 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The option was incorrectly masking off all other options. Signed-off-by: Joshua Watt --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index c9d24bae3025..216f67d628b3 100644 --- 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; /*