diff options
author | phk <phk@FreeBSD.org> | 2005-03-18 06:01:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-03-18 06:01:21 +0000 |
commit | ae412c6cc0589a0581f167a1a1013bc366954a20 (patch) | |
tree | ead9f9974dbd8dcf1f4b244d4f588a43b7c60eb2 | |
parent | c1de26c2a069664351ad0a5c53456d34e9e29e5e (diff) | |
download | FreeBSD-src-ae412c6cc0589a0581f167a1a1013bc366954a20.zip FreeBSD-src-ae412c6cc0589a0581f167a1a1013bc366954a20.tar.gz |
Fix a bad copy&paste mistake I made.
Spotted by: truckman
-rw-r--r-- | sys/kern/vfs_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_hash.c b/sys/kern/vfs_hash.c index 3cec5c5..646f1be 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); |