Searched hist:"518 f375c15af724cd89a4ec888dea942bb27f77f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfsd/ |
H A D | nfsfh.c | diff 518f375c15af724cd89a4ec888dea942bb27f77f Fri May 19 06:17:23 CDT 2023 Jeff Layton <jlayton@kernel.org> 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>
|