HomeFreeBSD

libzfs: Prevent overridding of error code

Description

libzfs: Prevent overridding of error code

zfs_send_cb_impl fails to report error for some flags.

Use second error variable for send_conclusion_record.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #13558

Details

Provenance
ixhamza <106930537+ixhamza@users.noreply.github.com>Authored on Jun 15 2022, 9:26 PM
GitHub <noreply@github.com>Committed on Jun 15 2022, 9:26 PM
Parents
rGdd8671459f59: Reduce ZIO io_lock contention on sorted scrub
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG10891b37fa8f: libzfs: Prevent overridding of error code (authored by ixhamza <106930537+ixhamza@users.noreply.github.com>).Jun 15 2022, 9:26 PM