summaryrefslogtreecommitdiff
path: root/pipe.c
diff options
context:
space:
mode:
authorRuss Cox <[email protected]>2009-08-08 01:07:30 -0700
committerRuss Cox <[email protected]>2009-08-08 01:07:30 -0700
commit0aef8914959af9e472852611eb6352c211093d35 (patch)
tree0658cf47dcb134b79e5311209c2a2840d1a79650 /pipe.c
parentb3bebfce8a790975ba941d346e6bcff1b5afecf9 (diff)
downloadxv6-labs-0aef8914959af9e472852611eb6352c211093d35.tar.gz
xv6-labs-0aef8914959af9e472852611eb6352c211093d35.tar.bz2
xv6-labs-0aef8914959af9e472852611eb6352c211093d35.zip
shuffle and tweak for formatting.
pdf has very good page breaks now. would be a good copy for fall 2009.
Diffstat (limited to 'pipe.c')
-rw-r--r--pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pipe.c b/pipe.c
index 3032775..29c01b2 100644
--- a/pipe.c
+++ b/pipe.c
@@ -3,6 +3,7 @@
#include "param.h"
#include "mmu.h"
#include "proc.h"
+#include "fs.h"
#include "file.h"
#include "spinlock.h"
@@ -72,7 +73,7 @@ pipeclose(struct pipe *p, int writable)
release(&p->lock);
}
-//PAGEBREAK: 30
+//PAGEBREAK: 40
int
pipewrite(struct pipe *p, char *addr, int n)
{