]> Devi Nivas Git - cs3210-lab0.git/commitdiff
formatting
authorrsc <rsc>
Tue, 28 Aug 2007 05:00:53 +0000 (05:00 +0000)
committerrsc <rsc>
Tue, 28 Aug 2007 05:00:53 +0000 (05:00 +0000)
bio.c
pipe.c

diff --git a/bio.c b/bio.c
index eba8e024ab3fa6af8147680f750d7d3da0a87b37..8955f7a834666dc2c0ca832780d7c2762ee96d39 100644 (file)
--- a/bio.c
+++ b/bio.c
@@ -42,6 +42,7 @@ binit(void)
 
   initlock(&buf_table_lock, "buf_table");
 
+//PAGEBREAK!
   // Create linked list of buffers
   bufhead.prev = &bufhead;
   bufhead.next = &bufhead;
diff --git a/pipe.c b/pipe.c
index 737c75aec8b0139deaa813ac32e188930e6e77b2..43f623a146bb954aec25246508a7b324aa1f5e81 100644 (file)
--- a/pipe.c
+++ b/pipe.c
@@ -43,6 +43,7 @@ pipealloc(struct file **f0, struct file **f1)
   (*f1)->pipe = p;
   return 0;
 
+//PAGEBREAK: 20
  bad:
   if(p)
     kfree((char*)p, PAGE);
@@ -74,7 +75,7 @@ pipeclose(struct pipe *p, int writable)
     kfree((char*)p, PAGE);
 }
 
-//PAGEBREAK: 20
+//PAGEBREAK: 30
 int
 pipewrite(struct pipe *p, char *addr, int n)
 {