aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/freebsd/spl/spl_vfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/freebsd/spl/spl_vfs.c')
-rw-r--r--module/os/freebsd/spl/spl_vfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/freebsd/spl/spl_vfs.c b/module/os/freebsd/spl/spl_vfs.c
index 09c840126..54d3dce31 100644
--- a/module/os/freebsd/spl/spl_vfs.c
+++ b/module/os/freebsd/spl/spl_vfs.c
@@ -275,7 +275,7 @@ mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath,
void
vn_rele_async(vnode_t *vp, taskq_t *taskq)
{
- VERIFY(vp->v_count > 0);
+ VERIFY(vp->v_usecount > 0);
if (refcount_release_if_not_last(&vp->v_usecount)) {
#if __FreeBSD_version < 1300045
vdrop(vp);