]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce0f3bc6a9cd43bec1899cd9a8c93df033f9ea9b
treef9ec3d2ba8f69f89ea61f232359f8c2e2f520558
parent3481b8ba5801c68745c7588d2831888a67f5b10c
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