aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2023-05-19 07:17:23 -0400
committerChuck Lever <[email protected]>2023-06-11 16:37:46 -0400
commit518f375c15af724cd89a4ec888dea942bb27f77f (patch)
tree1850ba4ec288c614d9db3ce60ecc4c80762643c0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentdf56b384de521236c261bf34856dd0d3ba772850 (diff)
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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]> Reviewed-by: Neil Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions