summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-03-25 18:38:21 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-03-25 18:38:21 +0000
commitcd2d5e9f2262e73b4408500072eddd11d546ceb8 (patch)
treeac31d200486911f7f2e7ed4dfd432b3978d1a547
parentc79c2c8356953d9f5e3370d0be2c6897be0c0f63 (diff)
Remove LK_INTERLOCK from flags in a call to vget();
ok pedro@
-rw-r--r--sys/isofs/udf/udf_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf_vnops.c b/sys/isofs/udf/udf_vnops.c
index c01ffcd541f..f5bcaa3e0e0 100644
--- a/sys/isofs/udf/udf_vnops.c
+++ b/sys/isofs/udf/udf_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf_vnops.c,v 1.22 2007/03/21 17:29:31 thib Exp $ */
+/* $OpenBSD: udf_vnops.c,v 1.23 2007/03/25 18:38:20 thib Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -106,7 +106,7 @@ loop:
LIST_FOREACH(up, lh, u_le) {
if (up->u_ino == id) {
mtx_leave(&ump->um_hashmtx);
- error = vget(up->u_vnode, flags | LK_INTERLOCK, p);
+ error = vget(up->u_vnode, flags, p);
if (error == ENOENT)
goto loop;
if (error)