HomeFreeBSD

Exit the teardown section later in rename on FreeBSD

Description

Exit the teardown section later in rename on FreeBSD

We have to hold the teardown lock while dereferencing zfsvfs->z_os and,
I believe, when committing to the ZIL.

Note that jumping to the "out" label, "error" is always non-zero.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #12704

Details

Provenance
markjAuthored on Oct 28 2021, 5:25 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 29 2021, 11:40 PM
Parents
rG68a7a9edc502: Fix potential use-after-frees in FreeBSD getpages and setattr VOPs
Branches
Unknown
Tags
Unknown