diff options
author | eivind <eivind@FreeBSD.org> | 1999-01-05 18:50:03 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1999-01-05 18:50:03 +0000 |
commit | ffaaca5874a2e0b773197f6c600449c2e383d5d8 (patch) | |
tree | 13d64daa5c3318e5f867c379131d01f501b43cf2 /sys/kern/vfs_lookup.c | |
parent | df5bc79a55b9ca8e81f3226a0aa586376a009337 (diff) | |
download | FreeBSD-src-ffaaca5874a2e0b773197f6c600449c2e383d5d8.zip FreeBSD-src-ffaaca5874a2e0b773197f6c600449c2e383d5d8.tar.gz |
Remove the 'waslocked' parameter to vfs_object_create().
Diffstat (limited to 'sys/kern/vfs_lookup.c')
-rw-r--r-- | sys/kern/vfs_lookup.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index b2d0954..3a00557 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_lookup.c 8.4 (Berkeley) 2/16/94 - * $Id: vfs_lookup.c,v 1.27 1998/04/08 18:31:57 wosch Exp $ + * $Id: vfs_lookup.c,v 1.28 1998/06/07 17:11:45 dfr Exp $ */ #include "opt_ktrace.h" @@ -168,9 +168,11 @@ namei(ndp) if (ndp->ni_vp && ndp->ni_vp->v_type == VREG && (cnp->cn_nameiop != DELETE) && - ((cnp->cn_flags & (NOOBJ|LOCKLEAF)) == LOCKLEAF)) + ((cnp->cn_flags & (NOOBJ|LOCKLEAF)) == + LOCKLEAF)) vfs_object_create(ndp->ni_vp, - ndp->ni_cnd.cn_proc, ndp->ni_cnd.cn_cred, 1); + ndp->ni_cnd.cn_proc, + ndp->ni_cnd.cn_cred); return (0); } @@ -698,7 +700,7 @@ relookup(dvp, vpp, cnp) if (dp->v_type == VREG && ((cnp->cn_flags & (NOOBJ|LOCKLEAF)) == LOCKLEAF)) - vfs_object_create(dp, cnp->cn_proc, cnp->cn_cred, 1); + vfs_object_create(dp, cnp->cn_proc, cnp->cn_cred); if ((cnp->cn_flags & LOCKLEAF) == 0) VOP_UNLOCK(dp, 0, p); |