Fix a bad copy&paste mistake I made.
Spotted by: truckman
This commit is contained in:
parent
730eb84011
commit
a1e1d551d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user