summaryrefslogtreecommitdiff
path: root/sys/adosfs/adlookup.c
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1997-11-06 17:23:10 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1997-11-06 17:23:10 +0000
commit42f58dcdba575ac549eca8f2ab34d8f4e7efa3e4 (patch)
treeb0ee8a8e14118d164d510c73af4e40dc82eec42b /sys/adosfs/adlookup.c
parent6098d434ef0f60c9c49c0c16244c45b9825d65a9 (diff)
More fixes for adosfs so it compiles with VFS Lite 2
Diffstat (limited to 'sys/adosfs/adlookup.c')
-rw-r--r--sys/adosfs/adlookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/adosfs/adlookup.c b/sys/adosfs/adlookup.c
index 2e6fa94d8de..1e6760cdb90 100644
--- a/sys/adosfs/adlookup.c
+++ b/sys/adosfs/adlookup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adlookup.c,v 1.8 1997/11/06 05:58:00 csapuntz Exp $ */
+/* $OpenBSD: adlookup.c,v 1.9 1997/11/06 17:23:08 csapuntz Exp $ */
/* $NetBSD: adlookup.c,v 1.17 1996/10/25 23:13:58 cgd Exp $ */
/*
@@ -125,7 +125,7 @@ adosfs_lookup(v)
if (error == 0 && lockp && last)
error = vn_lock(vdp, LK_EXCLUSIVE | LK_RETRY, p);
} else {
- error = vget(*vpp, 1);
+ error = vget(*vpp, LK_EXCLUSIVE, p);
/* if (lockp == 0 || error || last) */
if (lockp == 0 || error || last == 0)
VOP_UNLOCK(vdp, 0, p);