]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Ignore NFS_INO_REVAL_FORCED in nfs_check_inode_attributes()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 3 Jun 2018 16:12:52 +0000 (12:12 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Jun 2018 19:03:58 +0000 (15:03 -0400)
commit56691be3afcbab06386282fbc42278bdde418601
tree003579070a9bb056ff377a62a1df0dc46077d57a
parentd895a0d5e99b6de59e692b0b3ae2fe499fbeb647
NFS: Ignore NFS_INO_REVAL_FORCED in nfs_check_inode_attributes()

If we hold a delegation, we should not need to call
nfs_check_inode_attributes() since we already know which attributes
are valid, and which ones may still need revalidation. The state
of the NFS_INO_REVAL_FORCED flag is therefore irrelevant.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/inode.c