summaryrefslogtreecommitdiff
path: root/bio.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-06 19:08:14 +0000
committerrsc <rsc>2006-09-06 19:08:14 +0000
commit0cfc7290e8307b66ade6d5eb736c89cc4062c302 (patch)
tree592ad149f605717dfa0162d75da0af050a9c53e4 /bio.c
parentdb8fb62e4d599f4e08a3b6420e42b2445e8d7fe3 (diff)
downloadxv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.tar.gz
xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.tar.bz2
xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.zip
wrap long lines
Diffstat (limited to 'bio.c')
-rw-r--r--bio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bio.c b/bio.c
index 62675bf..ab5f41f 100644
--- a/bio.c
+++ b/bio.c
@@ -41,7 +41,8 @@ getblk(uint dev, uint sector)
for(;;){
for(b = bufhead.next; b != &bufhead; b = b->next)
- if((b->flags & (B_BUSY|B_VALID)) && b->dev == dev && b->sector == sector)
+ if((b->flags & (B_BUSY|B_VALID)) &&
+ b->dev == dev && b->sector == sector)
break;
if(b != &bufhead){