summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-24 19:46:19 +0000
committerrsc <rsc>2007-08-24 19:46:19 +0000
commit4d39b63388237f5a30206b9df9999bc9f007b7bf (patch)
tree7761fdd0729d458fbb7a0cfcf08e4d3238381ca7
parent895c182d74d331be10826e80f8247aaae4b195db (diff)
downloadxv6-labs-4d39b63388237f5a30206b9df9999bc9f007b7bf.tar.gz
xv6-labs-4d39b63388237f5a30206b9df9999bc9f007b7bf.tar.bz2
xv6-labs-4d39b63388237f5a30206b9df9999bc9f007b7bf.zip
nits
-rw-r--r--bio.c2
-rw-r--r--fs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bio.c b/bio.c
index 7f5d158..08eee7c 100644
--- a/bio.c
+++ b/bio.c
@@ -4,7 +4,7 @@
// holding cached copies of disk block contents.
// Each buf has two state bits B_BUSY and B_VALID.
// If B_BUSY is set, it means that some code is currently
-// modifying buf, so other code is not allowed to look at it.
+// using buf, so other code is not allowed to use it.
// To wait for a buffer that is B_BUSY, sleep on buf.
// (See bget below.)
//
diff --git a/fs.c b/fs.c
index 3b39a42..58893b1 100644
--- a/fs.c
+++ b/fs.c
@@ -6,7 +6,7 @@
// + Directories: inode with special contents (list of other inodes!)
// + Names: paths like /usr/rtm/xv6/fs.c for convenient naming.
//
-// Disk layout is: superblock, inodes, block not-free bitmap, data blocks.
+// Disk layout is: superblock, inodes, block in-use bitmap, data blocks.
//
// This file contains the low-level file system manipulation
// routines. The (higher-level) system call implementations