HomeFreeBSD

Wrap vdev_count_verify_zaps() with ZFS_DEBUG

Description

Wrap vdev_count_verify_zaps() with ZFS_DEBUG

Commit e0ab3ab introduced two blocks of code which are only needed
when debugging is enabled. These blocks should be wrapped with
ZFS_DEBUG for clarity and to prevent unused variable warnings in
a production build.

Signed-off-by: Don Brady <don.brady@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4515

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 7 2016, 1:14 AM
Parents
rGd5167616bbe0: Per-vdev ZAP tests must use $ZPOOL and $ZDB
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG33cf67cd9ab2: Wrap vdev_count_verify_zaps() with ZFS_DEBUG (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 7 2016, 1:14 AM