diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-03-25 14:53:48 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-04-13 10:03:03 -0400 |
commit | c88c696c59f5775d8781d632f7d10823563027eb (patch) | |
tree | 0115d4a83a65f11b1938432384f2644f97172285 /fs | |
parent | 709fa5769914b377af87962bbe4ff81ffb019b2d (diff) | |
download | linux-stable-c88c696c59f5775d8781d632f7d10823563027eb.tar.gz linux-stable-c88c696c59f5775d8781d632f7d10823563027eb.tar.bz2 linux-stable-c88c696c59f5775d8781d632f7d10823563027eb.zip |
NFS: Remove a line of code that has no effect in nfs_update_inode()
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 <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/inode.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 18c7277d17a8..e4333b6ab2d4 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -2110,7 +2110,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; |