diff --git a/fs.c b/fs.c index 49a736d..abd7c0b 100644 --- a/fs.c +++ b/fs.c @@ -227,7 +227,7 @@ iunlock(struct inode *ip) panic("iunlock"); acquire(&icache.lock); - ip->flags &= ~I_BUSY; + ip->flags = 0; wakeup(ip); release(&icache.lock); }