nits
This commit is contained in:
parent
766ba5cc06
commit
872a63e104
1 changed files with 2 additions and 4 deletions
6
bio.c
6
bio.c
|
@ -96,8 +96,7 @@ bget(uint dev, uint sector)
|
||||||
panic("bget: no buffers");
|
panic("bget: no buffers");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return a B_BUSY buf with the contents of the indicated
|
// Return a B_BUSY buf with the contents of the indicated disk sector.
|
||||||
// disk sector.
|
|
||||||
struct buf*
|
struct buf*
|
||||||
bread(uint dev, uint sector)
|
bread(uint dev, uint sector)
|
||||||
{
|
{
|
||||||
|
@ -114,8 +113,7 @@ bread(uint dev, uint sector)
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write buf's contents to disk.
|
// Write buf's contents to disk. Must be locked.
|
||||||
// Must be locked.
|
|
||||||
void
|
void
|
||||||
bwrite(struct buf *b)
|
bwrite(struct buf *b)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue