group locks into structs they protect.

few naming nits.
This commit is contained in:
rsc 2009-05-31 05:12:21 +00:00
parent 949e55902b
commit 34295f461a
10 changed files with 82 additions and 80 deletions

2
fs.c
View file

@ -138,7 +138,7 @@ struct {
void
iinit(void)
{
initlock(&icache.lock, "icache.lock");
initlock(&icache.lock, "icache");
}
// Find the inode with number inum on device dev