summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-04-21 12:40:42 +0000
committerkato <kato@FreeBSD.org>1997-04-21 12:40:42 +0000
commite2eb0e37433a2e308f5f07c81b1450eb4849738d (patch)
treeaad414232dba6e189f8c96fb0c53e965ad8b2aa4 /sys/fs
parent591065bf8238efbce9f5d665563285148b6fbe8b (diff)
downloadFreeBSD-src-e2eb0e37433a2e308f5f07c81b1450eb4849738d.zip
FreeBSD-src-e2eb0e37433a2e308f5f07c81b1450eb4849738d.tar.gz
Replace VOP_LOCK with vn_lock.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/unionfs/union_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c
index eb80cd0..357bfc0 100644
--- a/sys/fs/unionfs/union_vnops.c
+++ b/sys/fs/unionfs/union_vnops.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_vnops.c 8.32 (Berkeley) 6/23/95
- * $Id: union_vnops.c,v 1.24 1997/04/15 12:56:57 kato Exp $
+ * $Id: union_vnops.c,v 1.25 1997/04/16 03:08:34 kato Exp $
*/
#include <sys/param.h>
@@ -276,7 +276,7 @@ union_lookup(ap)
* dun->un_uppervp locked currently--so we get it
* locked here (don't set the UN_ULOCK flag).
*/
- VOP_LOCK(dvp, 0, p);
+ vn_lock(dvp, LK_EXCLUSIVE | LK_RETRY, p);
}
/*if (uppervp == upperdvp)
OpenPOWER on IntegriCloud