summaryrefslogtreecommitdiff
path: root/bio.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 /bio.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 'bio.c')
-rw-r--r--bio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bio.c b/bio.c
index 12b258e..6a3968b 100644
--- a/bio.c
+++ b/bio.c
@@ -41,7 +41,7 @@ binit(void)
{
struct buf *b;
- initlock(&bcache.lock, "buf_table");
+ initlock(&bcache.lock, "bcache");
//PAGEBREAK!
// Create linked list of buffers