From a1e1d551d82ec728865cba972eaa22e72d71b750 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 18 Mar 2005 06:01:21 +0000 Subject: [PATCH] Fix a bad copy&paste mistake I made. Spotted by: truckman --- sys/kern/vfs_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/vfs_hash.c b/sys/kern/vfs_hash.c index 3cec5c5ac6dd..646f1bed4ced 100644 --- a/sys/kern/vfs_hash.c +++ b/sys/kern/vfs_hash.c @@ -119,7 +119,7 @@ vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, stru continue; if (vp2->v_mount != vp->v_mount) continue; - if (fn != NULL && fn(vp, arg)) + if (fn != NULL && fn(vp2, arg)) continue; VI_LOCK(vp2); mtx_unlock(&vfs_hash_mtx);