HomeFreeBSD

Stop segfaulting on unmount error case

Description

Stop segfaulting on unmount error case

After interrupting ZTS runs that errored out, I found that
"zpool export testpool2" was segfaulting.

This seems unnecessary.

Reviewed-by: szubersk <szuberskidamian@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12804

Details

Provenance
rincebrain_gmail.comAuthored on Nov 30 2021, 6:36 PM
GitHub <noreply@github.com>Committed on Nov 30 2021, 6:36 PM
Parents
rG547df816418f: Code cleanups
Branches
Unknown
Tags
Unknown