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
Tony Hutter <hutter2@llnl.gov>Committed on Dec 13 2021, 9:22 PM
Parents
rG07165ce54032: Fix potential use-after-frees in FreeBSD getpages and setattr VOPs
Branches
Unknown
Tags
Unknown