summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-05-19 07:17:23 -0400
committerChuck Lever <chuck.lever@oracle.com>2023-06-11 16:37:46 -0400
commit518f375c15af724cd89a4ec888dea942bb27f77f (patch)
tree1850ba4ec288c614d9db3ce60ecc4c80762643c0 /fs/lockd
parentdf56b384de521236c261bf34856dd0d3ba772850 (diff)
downloadlinux-stable-518f375c15af724cd89a4ec888dea942bb27f77f.tar.gz
linux-stable-518f375c15af724cd89a4ec888dea942bb27f77f.tar.bz2
linux-stable-518f375c15af724cd89a4ec888dea942bb27f77f.zip
nfsd: don't provide pre/post-op attrs if fh_getattr fails
nfsd calls fh_getattr to get the latest inode attrs for pre/post-op info. In the event that fh_getattr fails, it resorts to scraping cached values out of the inode directly. Since these attributes are optional, we can just skip providing them altogether when this happens. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'fs/lockd')
0 files changed, 0 insertions, 0 deletions