Make this build.

This commit is contained in:
tron 2009-10-29 10:26:17 +00:00
parent 413e239f0d
commit 0afc8953b4

View File

@ -1067,6 +1067,7 @@ void
zfs_zinactive(znode_t *zp)
{
vnode_t *vp = ZTOV(zp);
zfsvfs_t *zfsvfs = zp->z_zfsvfs;
ASSERT(zp->z_dbuf && zp->z_phys);
@ -1080,13 +1081,13 @@ zfs_zinactive(znode_t *zp)
*/
if (zp->z_unlinked) {
mutex_exit(&zp->z_lock);
ZFS_OBJ_HOLD_EXIT(zfsvfs, z_id);
ZFS_OBJ_HOLD_EXIT(zfsvfs, zp->z_id);
zfs_rmnode(zp);
return;
}
mutex_exit(&zp->z_lock);
ZFS_OBJ_HOLD_EXIT(zfsvfs, z_id);
ZFS_OBJ_HOLD_EXIT(zfsvfs, zp->z_id);
zfs_znode_free(zp);
}