HomeFreeBSD

Fix error propagation from lzc_send_redacted

Description

Fix error propagation from lzc_send_redacted

Any error from lzc_send_redacted is overwritten by the error of
send_conclusion_record; skip writing the conclusion record if there
was an earlier error.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Philipp Riederer <philipp@riederer.email>
Closes #12766

Details

Provenance
Philipp Riederer <pt@philipptoelke.de>Authored on Dec 20 2021, 6:50 PM
GitHub <noreply@github.com>Committed on Dec 20 2021, 6:50 PM
Parents
rG3fa5266d727a: Linux: Implement FS_IOC_GETVERSION
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG8623bd962da2: Fix error propagation from lzc_send_redacted (authored by Philipp Riederer <pt@philipptoelke.de>).Dec 20 2021, 6:50 PM