diff options
author | dg <dg@FreeBSD.org> | 1994-10-06 21:07:04 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-10-06 21:07:04 +0000 |
commit | 2add6128e22fca2b5350fbda48427077f03c16bb (patch) | |
tree | f7a29b84bd4828e9297f7385d79ab2ce4fa9c50c /sys/fs/deadfs | |
parent | dbd2b6665c27bd5ee1a1b627060085c53d581b06 (diff) | |
download | FreeBSD-src-2add6128e22fca2b5350fbda48427077f03c16bb.zip FreeBSD-src-2add6128e22fca2b5350fbda48427077f03c16bb.tar.gz |
Use tsleep() rather than sleep so that 'ps' is more informative about
the wait.
Diffstat (limited to 'sys/fs/deadfs')
-rw-r--r-- | sys/fs/deadfs/dead_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index a786dbe..a8bb296 100644 --- a/sys/fs/deadfs/dead_vnops.c +++ b/sys/fs/deadfs/dead_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)dead_vnops.c 8.1 (Berkeley) 6/10/93 - * $Id: dead_vnops.c,v 1.3 1994/08/02 07:44:51 davidg Exp $ + * $Id: dead_vnops.c,v 1.4 1994/09/21 03:46:52 wollman Exp $ */ #include <sys/param.h> @@ -365,7 +365,7 @@ chkvnlock(vp) while (vp->v_flag & VXLOCK) { vp->v_flag |= VXWANT; - sleep((caddr_t)vp, PINOD); + (void) tsleep((caddr_t)vp, PINOD, "ckvnlk", 0); locked = 1; } return (locked); |