Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3974428pxf; Mon, 29 Mar 2021 17:21:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOWoGhvlrpzWOsJTE/qs6YFkKnr2JsXSLh80m+ilIq80/bBWMsx/UpZBh7m+0f26P9xIpZ X-Received: by 2002:a17:906:5d12:: with SMTP id g18mr30333253ejt.246.1617063706565; Mon, 29 Mar 2021 17:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617063706; cv=none; d=google.com; s=arc-20160816; b=bih5rX2FfraYjzMCeQfBoHvG1NuNAAYjU5isM1Q1Lf3fwRTH0TbxrBwaWZycjozrQq 6fTS+qvBONlzECNSDW6F1bHELKy49fApb8/rW6U5vfLMthzb4afVFIDKL198hmc1DevN nIFgDEwi89jpvDHIPezziSOpR0pJKMyYqC0UmI3g1E2GZL+HIB0CbrehMd8gfjx+79ti DUdZHdDmwEo3rn+bMbHdbc8HGjh0cunCjR1iwVWr9Ip1cAx12JXA954EuU+XJfY7YpXL GxH3n18ZE23Z0GfNR2HV7QSq00f2l2Pfm7thJbDgJyL4sA1DAgfD+hwSSQRDG65OIl2L tS2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=t3g0EX+T+1GquyQi40ml4HBuv8Kuwh1FxwfZZ+B/oxk=; b=uoyC9JIXcHpfzMJbETBXD/FtoNjwRsVTL+jlFDNAcPipSsaAyJR4NgptlDq/myBZr5 ua3vImdsr/YwyAKLPmdjZjeZETCoWctVnVNhTBGSTUqq4Qvx+0/aSuhwsGMi/8/mC9gT 8fa9GZoG51t2E28bsMDdwd3FvpV1Mm5ymDKfgWFl4QrozOPrYZP5yEwNVl6HF8s978Pg 1HGBcD+FsJb95StrWj9GidJKCQWKXXYWRqjTOvAyH9DiFfQLIxDa41JwkQTzRJhsI2mP M9nlKEpjzvWdduBPYyYnx943aY2zIl0tExCBtT3BrVnls3+A4zEQrjNr0prJJTPI56Y/ PP/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eMmOCF97; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o13si14873861ejb.114.2021.03.29.17.21.24; Mon, 29 Mar 2021 17:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eMmOCF97; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbhC3ATO (ORCPT + 99 others); Mon, 29 Mar 2021 20:19:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:50394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbhC3ASq (ORCPT ); Mon, 29 Mar 2021 20:18:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 03DCB60C41 for ; Tue, 30 Mar 2021 00:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617063526; bh=ASkvzzUzy0Zf2PWTjOBspbGyEGYU1xCptK2jhysUhRQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eMmOCF97mjLl9RmIEhwK0+dWi5EiDZlSTT5VKEcpxFjJtk0ApwhRiiANbJXNTScu1 Lzg9CI8Iz+upURGdVu/PzZQUKS+O6Wk2WGgAzjIffNdThK3sF9pObWDGkktoP4wJ6g 7YHBCddBBX4J6p7ekTByuEkGfzPRGsGp8Ho6/8CvE8u2nbZbE9LTKFsSS99DXDFEkq VBhBPKzoUdFa2SywxIonDSsUb76atp6oc7Vt6Q1dwhn/n2/a6quVCvdBu3dsHTMxY7 9hItBqtF09wPS6jEue+KRlEJlVxjmLDzP66OLJA6xrsO2ArP8ZcYZCkKtwRSpyQtf0 owadfq7kQdEfQ== From: trondmy@kernel.org To: linux-nfs@vger.kernel.org Subject: [PATCH 13/17] NFS: Remove a line of code that has no effect in nfs_update_inode() Date: Mon, 29 Mar 2021 20:18:31 -0400 Message-Id: <20210330001835.41914-14-trondmy@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210330001835.41914-13-trondmy@kernel.org> References: <20210330001835.41914-1-trondmy@kernel.org> <20210330001835.41914-2-trondmy@kernel.org> <20210330001835.41914-3-trondmy@kernel.org> <20210330001835.41914-4-trondmy@kernel.org> <20210330001835.41914-5-trondmy@kernel.org> <20210330001835.41914-6-trondmy@kernel.org> <20210330001835.41914-7-trondmy@kernel.org> <20210330001835.41914-8-trondmy@kernel.org> <20210330001835.41914-9-trondmy@kernel.org> <20210330001835.41914-10-trondmy@kernel.org> <20210330001835.41914-11-trondmy@kernel.org> <20210330001835.41914-12-trondmy@kernel.org> <20210330001835.41914-13-trondmy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Trond Myklebust Commit 0b467264d0db ("NFS: Fix attribute revalidation") changed the way we populate the 'invalid' attribute, and made the line that strips away the NFS_INO_INVALID_ATTR bits redundant. Signed-off-by: Trond Myklebust --- fs/nfs/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index e57cd490bc4d..f60dc562e84b 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -2115,7 +2115,6 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr) /* Update attrtimeo value if we're out of the unstable period */ if (attr_changed) { - invalid &= ~NFS_INO_INVALID_ATTR; nfs_inc_stats(inode, NFSIOS_ATTRINVALIDATE); nfsi->attrtimeo = NFS_MINATTRTIMEO(inode); nfsi->attrtimeo_timestamp = now; -- 2.30.2