mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-26 19:54:57 +00:00
Get rid of a nagging call to sleep() which crept back in.
This commit is contained in:
parent
9131cc8d54
commit
1547917a09
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1284
|
@ -199,7 +199,7 @@ void scsistrategy(struct buf *bp)
|
|||
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"));
|
||||
|
|
Loading…
Reference in a new issue