mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
FreeBSD: Prune some unneeded definitions
IS_XATTRDIR is never used. v_count is only used in two places, one immediately followed by the use of the real name, v_usecount. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #11973
This commit is contained in:
committed by
Brian Behlendorf
parent
910b43310f
commit
5701e393b7
@@ -1593,7 +1593,7 @@ zfsvfs_teardown(zfsvfs_t *zfsvfs, boolean_t unmounting)
|
||||
for (zp = list_head(&zfsvfs->z_all_znodes); zp != NULL;
|
||||
zp = list_next(&zfsvfs->z_all_znodes, zp))
|
||||
if (zp->z_sa_hdl) {
|
||||
ASSERT(ZTOV(zp)->v_count >= 0);
|
||||
ASSERT(ZTOV(zp)->v_usecount >= 0);
|
||||
zfs_znode_dmu_fini(zp);
|
||||
}
|
||||
mutex_exit(&zfsvfs->z_znodes_lock);
|
||||
|
||||
Reference in New Issue
Block a user