Skip to content
Snippets Groups Projects
Commit 6eed1ee9 authored by rsc's avatar rsc
Browse files

formatting

parent c2f354e4
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@ binit(void)
initlock(&buf_table_lock, "buf_table");
//PAGEBREAK!
// Create linked list of buffers
bufhead.prev = &bufhead;
bufhead.next = &bufhead;
......
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment