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/gnu | |
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/gnu')
-rw-r--r-- | sys/gnu/ext2fs/ext2_ihash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/ext2fs/ext2_ihash.c b/sys/gnu/ext2fs/ext2_ihash.c index 53181c4..45c1466 100644 --- a/sys/gnu/ext2fs/ext2_ihash.c +++ b/sys/gnu/ext2fs/ext2_ihash.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ufs_ihash.c 8.4 (Berkeley) 12/30/93 - * $Id$ + * $Id: ufs_ihash.c,v 1.2 1994/08/02 07:54:55 davidg Exp $ */ #include <sys/param.h> @@ -100,7 +100,7 @@ ufs_ihashget(device, inum) if (inum == ip->i_number && device == ip->i_dev) { if (ip->i_flag & IN_LOCKED) { ip->i_flag |= IN_WANTED; - sleep(ip, PINOD); + (void) tsleep(ip, PINOD, "uihget", 0); break; } vp = ITOV(ip); |