diff options
author | Jeff Layton <jlayton@kernel.org> | 2023-05-19 07:17:23 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-06-11 16:37:46 -0400 |
commit | 518f375c15af724cd89a4ec888dea942bb27f77f (patch) | |
tree | 1850ba4ec288c614d9db3ce60ecc4c80762643c0 /drivers/hid/hid-chicony.c | |
parent | df56b384de521236c261bf34856dd0d3ba772850 (diff) | |
download | linux-518f375c15af724cd89a4ec888dea942bb27f77f.tar.gz linux-518f375c15af724cd89a4ec888dea942bb27f77f.tar.bz2 linux-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 'drivers/hid/hid-chicony.c')
0 files changed, 0 insertions, 0 deletions