diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-30 10:35:09 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-30 10:35:09 +0000 |
commit | 10d2adeb43e19f56de363f71edea37dec20f5172 (patch) | |
tree | 88601e1d3284cb824cc2a8d45055cfc21ef0131b /sys/kern/vfs_lookup.c | |
parent | f1d6e4b2f952c4073efea91213f22bf6f34f8d20 (diff) |
No need for vfs_busy() and vfs_unbusy() to take a process pointer
anymore. Testing by jolan@, thanks.
Diffstat (limited to 'sys/kern/vfs_lookup.c')
-rw-r--r-- | sys/kern/vfs_lookup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index 04087a1ff75..756b532bceb 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_lookup.c,v 1.30 2005/11/08 15:43:44 pedro Exp $ */ +/* $OpenBSD: vfs_lookup.c,v 1.31 2005/11/30 10:35:07 pedro Exp $ */ /* $NetBSD: vfs_lookup.c,v 1.17 1996/02/09 19:00:59 christos Exp $ */ /* @@ -513,11 +513,11 @@ dirloop: */ while (dp->v_type == VDIR && (mp = dp->v_mountedhere) && (cnp->cn_flags & NOCROSSMOUNT) == 0) { - if (vfs_busy(mp, 0, 0, p)) + if (vfs_busy(mp, 0, NULL)) continue; VOP_UNLOCK(dp, 0, p); error = VFS_ROOT(mp, &tdp); - vfs_unbusy(mp, p); + vfs_unbusy(mp); if (error) { dpunlocked = 1; goto bad2; |