From 6eed1ee9b0e752109285bb44421cc9d59b0c171c Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Aug 2007 05:00:53 +0000 Subject: [PATCH] formatting --- bio.c | 1 + pipe.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bio.c b/bio.c index eba8e02..8955f7a 100644 --- 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 737c75a..43f623a 100644 --- 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) {