]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: skip some unnecessary stats in the v4 case
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 29 Jan 2021 19:27:01 +0000 (14:27 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sat, 30 Jan 2021 16:47:21 +0000 (11:47 -0500)
commitb1479ac69d48c5a749465b9eb42ac2a91759bb08
tree8cb233fa9898c54c14d9467bd9668c7d48c9ece4
parentf707e0fb21174dc907f005f0360240cfa2744814
nfsd: skip some unnecessary stats in the v4 case

In the typical case of v4 and an i_version-supporting filesystem, we can
skip a stat which is only required to fake up a change attribute from
ctime.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3xdr.c