summaryrefslogtreecommitdiff
path: root/bio.c
diff options
context:
space:
mode:
Remove trailing white space with:
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick)
Diffstat (limited to 'bio.c')
-rw-r--r--bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bio.c b/bio.c
index 629bb2c..6c19a64 100644
--- a/bio.c
+++ b/bio.c
@@ -4,7 +4,7 @@
// cached copies of disk block contents. Caching disk blocks
// in memory reduces the number of disk reads and also provides
// a synchronization point for disk blocks used by multiple processes.
-//
+//
// Interface:
// * To get a buffer for a particular disk block, call bread.
// * After changing buffer data, call bwrite to write it to disk.
@@ -12,10 +12,10 @@
// * Do not use the buffer after calling brelse.
// * Only one process at a time can use a buffer,
// so do not keep them longer than necessary.
-//
+//
// The implementation uses three state flags internally:
// * B_BUSY: the block has been returned from bread
-// and has not been passed back to brelse.
+// and has not been passed back to brelse.
// * B_VALID: the buffer data has been read from the disk.
// * B_DIRTY: the buffer data has been modified
// and needs to be written to disk.