projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee87487
)
Get rid of a nagging call to sleep() which crept back in.
author
Garrett Wollman
<wollman@FreeBSD.org>
Sun, 20 Mar 1994 00:30:59 +0000
(
00:30
+0000)
committer
Garrett Wollman
<wollman@FreeBSD.org>
Sun, 20 Mar 1994 00:30:59 +0000
(
00:30
+0000)
sys/scsi/scsi_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/scsi/scsi_ioctl.c
b/sys/scsi/scsi_ioctl.c
index
08d8a3a
..
a52b3a5
100644
(file)
--- a/
sys/scsi/scsi_ioctl.c
+++ b/
sys/scsi/scsi_ioctl.c
@@
-199,7
+199,7
@@
void scsistrategy(struct buf *bp)
s = splbio();
while(!(bp->b_flags & B_DONE))
{
s = splbio();
while(!(bp->b_flags & B_DONE))
{
-
sleep(bp,PRIBIO
);
+
tsleep((caddr_t)bp, PRIBIO, "scsistrat", 0
);
}
splx(s);
SC_DEBUG(sc_link,SDEV_DB3,("back from sleep\n"));
}
splx(s);
SC_DEBUG(sc_link,SDEV_DB3,("back from sleep\n"));