From aa222db26f8866f556445ce647ba39da05f73bf9 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 24 Jul 2007 15:00:43 +0000 Subject: [PATCH] Update assertion after revision 1.23. Reviewed by: dfr Approved by: re (rwatson) --- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c | 2 +- sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c index 7ed9c5f8650c..ba4da0817af5 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c @@ -3492,7 +3492,7 @@ zfs_freebsd_reclaim(ap) if (vp->v_count > 0) rele = 0; vp->v_data = NULL; - ASSERT(vp->v_holdcnt > 1); + ASSERT(vp->v_holdcnt >= 1); VI_UNLOCK(vp); if (!zp->z_unlinked && rele) VFS_RELE(zfsvfs->z_vfs); diff --git a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c index 7ed9c5f8650c..ba4da0817af5 100644 --- a/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c +++ b/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c @@ -3492,7 +3492,7 @@ zfs_freebsd_reclaim(ap) if (vp->v_count > 0) rele = 0; vp->v_data = NULL; - ASSERT(vp->v_holdcnt > 1); + ASSERT(vp->v_holdcnt >= 1); VI_UNLOCK(vp); if (!zp->z_unlinked && rele) VFS_RELE(zfsvfs->z_vfs);