Skip to content

Commit

Permalink
fix bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rsc committed May 31, 2009
1 parent 13ae880 commit ce72cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ iunlock(struct inode *ip)
panic("iunlock");

acquire(&icache.lock);
ip->flags = 0;
ip->flags &= ~I_BUSY;
wakeup(ip);
release(&icache.lock);
}
Expand All @@ -247,7 +247,7 @@ iput(struct inode *ip)
ip->type = 0;
iupdate(ip);
acquire(&icache.lock);
ip->flags &= ~I_BUSY;
ip->flags = 0;
wakeup(ip);
}
ip->ref--;
Expand Down

0 comments on commit ce72cad

Please sign in to comment.