From: rsc Date: Thu, 7 Sep 2006 16:54:28 +0000 (+0000) Subject: debugging help X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=95edc8921f3ac7d524815ce21c10ae96b81b5828;p=cs3210-lab1.git debugging help --- 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; }