diff options
Diffstat (limited to 'bio.c')
-rw-r--r-- | bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ getblk(uint dev, uint sector) acquire(&buf_table_lock); - while(1){ + for(;;){ for(b = bufhead.next; b != &bufhead; b = b->next) if((b->flags & (B_BUSY|B_VALID)) && b->dev == dev && b->sector == sector) break; |