summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorrsc <rsc>2009-05-31 05:12:21 +0000
committerrsc <rsc>2009-05-31 05:12:21 +0000
commit34295f461a416e40bb76e67c568a761222dc6913 (patch)
tree656ee29b7df282b32953ec927291a68cc0ff2124 /file.c
parent949e55902bb0c976f74b5217b82deac65ff8d781 (diff)
downloadxv6-labs-34295f461a416e40bb76e67c568a761222dc6913.tar.gz
xv6-labs-34295f461a416e40bb76e67c568a761222dc6913.tar.bz2
xv6-labs-34295f461a416e40bb76e67c568a761222dc6913.zip
group locks into structs they protect.
few naming nits.
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 05374e0..12b1561 100644
--- a/file.c
+++ b/file.c
@@ -14,7 +14,7 @@ struct {
void
fileinit(void)
{
- initlock(&ftable.lock, "file_table");
+ initlock(&ftable.lock, "ftable");
}
// Allocate a file structure.