group locks into structs they protect.
few naming nits.
This commit is contained in:
parent
949e55902b
commit
34295f461a
10 changed files with 82 additions and 80 deletions
2
fs.c
2
fs.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue