summaryrefslogtreecommitdiff
path: root/bio.c
diff options
context:
space:
mode:
authorrsc <rsc>2007-08-24 21:14:58 +0000
committerrsc <rsc>2007-08-24 21:14:58 +0000
commit872a63e104ab34b9588f404fa2d7ac05e789eacf (patch)
treed8c0013097bd21d65a9418e29d52480b2503198f /bio.c
parent766ba5cc06b45439cd3987aa782147041dab65c4 (diff)
downloadxv6-labs-872a63e104ab34b9588f404fa2d7ac05e789eacf.tar.gz
xv6-labs-872a63e104ab34b9588f404fa2d7ac05e789eacf.tar.bz2
xv6-labs-872a63e104ab34b9588f404fa2d7ac05e789eacf.zip
nits
Diffstat (limited to 'bio.c')
-rw-r--r--bio.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bio.c b/bio.c
index 08eee7c..6efc43e 100644
--- a/bio.c
+++ b/bio.c
@@ -96,8 +96,7 @@ bget(uint dev, uint sector)
panic("bget: no buffers");
}
-// Return a B_BUSY buf with the contents of the indicated
-// disk sector.
+// Return a B_BUSY buf with the contents of the indicated disk sector.
struct buf*
bread(uint dev, uint sector)
{
@@ -114,8 +113,7 @@ bread(uint dev, uint sector)
return b;
}
-// Write buf's contents to disk.
-// Must be locked.
+// Write buf's contents to disk. Must be locked.
void
bwrite(struct buf *b)
{