aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2023-07-21 10:29:10 -0400
committerChuck Lever <[email protected]>2023-08-29 17:45:22 -0400
commita332018a91c419a9a475c41d827544c771986876 (patch)
treec9b264d04b08c26571e3d091e9bc5b4978c7d6c6 /rust/helpers/helpers.c
parent5865bafa197a90ecadd086c2874948fa0c474943 (diff)
nfsd: handle failure to collect pre/post-op attrs more sanely
Collecting pre_op_attrs can fail, in which case it's probably best to fail the whole operation. Change fh_fill_pre_attrs and fh_fill_both_attrs to return __be32, and have the callers check the return code and abort the operation if it's not nfs_ok. Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions