debugging help
This commit is contained in:
parent
41abfaa92e
commit
95edc8921f
1 changed files with 1 additions and 0 deletions
1
bio.c
1
bio.c
|
@ -80,6 +80,7 @@ bget(uint dev, uint sector)
|
||||||
sleep(buf, &buf_table_lock);
|
sleep(buf, &buf_table_lock);
|
||||||
} else {
|
} else {
|
||||||
b->flags |= B_BUSY;
|
b->flags |= B_BUSY;
|
||||||
|
// b->flags &= ~B_VALID; // Force reread from disk
|
||||||
release(&buf_table_lock);
|
release(&buf_table_lock);
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue