summaryrefslogtreecommitdiff
path: root/sys/miscfs/deadfs/dead_vnops.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-06-08 18:43:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-06-08 18:43:35 +0000
commit26062794d280938d0acd239a8bc024ee7eb6c696 (patch)
treefa62564701e10a726ab9de15bee4b359164ea58f /sys/miscfs/deadfs/dead_vnops.c
parentce4c7543bf89856e99d3f3f905d5d752149d4595 (diff)
Use tsleep instead of sleep.
Diffstat (limited to 'sys/miscfs/deadfs/dead_vnops.c')
-rw-r--r--sys/miscfs/deadfs/dead_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c
index 7ca3c4a7800..eef86925fd0 100644
--- a/sys/miscfs/deadfs/dead_vnops.c
+++ b/sys/miscfs/deadfs/dead_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dead_vnops.c,v 1.12 2002/05/24 13:41:27 art Exp $ */
+/* $OpenBSD: dead_vnops.c,v 1.13 2002/06/08 18:43:34 art Exp $ */
/* $NetBSD: dead_vnops.c,v 1.16 1996/02/13 13:12:48 mycroft Exp $ */
/*
@@ -357,7 +357,7 @@ chkvnlock(vp)
while (vp->v_flag & VXLOCK) {
vp->v_flag |= VXWANT;
- sleep((caddr_t)vp, PINOD);
+ tsleep(vp, PINOD, "chkvnlock", 0);
locked = 1;
}
return (locked);