diff --git a/bio.c b/bio.c index 43286da..748bf47 100644 --- a/bio.c +++ b/bio.c @@ -80,6 +80,7 @@ bget(uint dev, uint sector) sleep(buf, &buf_table_lock); } else { b->flags |= B_BUSY; + // b->flags &= ~B_VALID; // Force reread from disk release(&buf_table_lock); return b; }