HomeFreeBSD

FreeBSD: rework asserts in zfs_dd_lookup

Description

FreeBSD: rework asserts in zfs_dd_lookup

  1. even up ifdefs
  2. drop the arguably useless teardown lock asserts -- nothing else checks for it

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11153

Details

Provenance
mjgAuthored on Oct 12 2020, 9:27 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 12 2021, 11:51 PM
Parents
rG446400346d2d: Add branch prediction to ZFS_ENTER and ZFS_VERIFY_ZP macros
Branches
Unknown
Tags
Unknown

Event Timeline