NFS: Don't revalidate attributes that are not being asked for
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 24 Mar 2021 17:55:09 +0000 (13:55 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 12 Apr 2021 21:14:17 +0000 (17:14 -0400)
commite8764a6f96d3ca17be7466c7b0fddef64f4e3d14
treef9ec3d2ba8f69f89ea61f232359f8c2e2f520558
parent4cdfeb648ac56ef0f961549528ccebd76042f1d3
NFS: Don't revalidate attributes that are not being asked for

If the user doesn't set STATX_UID/GID/MODE, then don't care if they are
known to be stale. Ditto if we're not being asked for the file size.

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