aboutsummaryrefslogtreecommitdiffstats
path: root/module/zstd/zstd-in.c
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2024-04-03 18:04:26 -0400
committerGitHub <[email protected]>2024-04-03 15:04:26 -0700
commitb12738182cff269456e7737241415356c08b5d2e (patch)
treeb2ee1f3322d010ecd0d782d18c13c7af93e8f6c1 /module/zstd/zstd-in.c
parent39be46f43f96fb7420386d03751b01f5cb376d6b (diff)
Improve dbuf_read() error reporting
Previous code reported non-ZIO errors only via return value, but not via parent ZIO. It could cause NULL-dereference panics due to dmu_buf_hold_array_by_dnode() ignoring the return value, relying solely on parent ZIO status. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ameer Hamza <[email protected]> Reported by: Ameer Hamza <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored by: iXsystems, Inc. Closes #16042
Diffstat (limited to 'module/zstd/zstd-in.c')
0 files changed, 0 insertions, 0 deletions