This commit is contained in:
rsc 2007-08-24 21:14:58 +00:00
parent 766ba5cc06
commit 872a63e104

6
bio.c
View file

@ -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)
{