]> 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)
commitfdeec7a11f9740570df7ad2f372df4e5de4c3fd4
treef9ec3d2ba8f69f89ea61f232359f8c2e2f520558
parent62180b0e5f0c1c092d0b295c38485c22a1d322d8
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