diff options
author | Alexander Motin <[email protected]> | 2024-04-03 18:04:26 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-03 15:04:26 -0700 |
commit | b12738182cff269456e7737241415356c08b5d2e (patch) | |
tree | b2ee1f3322d010ecd0d782d18c13c7af93e8f6c1 /module/os/linux/spl | |
parent | 39be46f43f96fb7420386d03751b01f5cb376d6b (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/os/linux/spl')
0 files changed, 0 insertions, 0 deletions