summaryrefslogtreecommitdiff
path: root/kernel/fs.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-07-24 13:33:43 -0400
committerRobert Morris <[email protected]>2019-07-24 13:33:43 -0400
commita77287e9244ae5dac7060c0b8817bc195325af0c (patch)
treefbf856ce361a9bc75abe4c484ecaff324607dd71 /kernel/fs.c
parentb4f89bb5290cff5926e5a735487b024f8314e028 (diff)
downloadxv6-labs-a77287e9244ae5dac7060c0b8817bc195325af0c.tar.gz
xv6-labs-a77287e9244ae5dac7060c0b8817bc195325af0c.tar.bz2
xv6-labs-a77287e9244ae5dac7060c0b8817bc195325af0c.zip
no more PAGEBREAK
Diffstat (limited to 'kernel/fs.c')
-rw-r--r--kernel/fs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/fs.c b/kernel/fs.c
index c241b3c..98284e8 100644
--- a/kernel/fs.c
+++ b/kernel/fs.c
@@ -186,7 +186,6 @@ iinit(int dev)
static struct inode* iget(uint dev, uint inum);
-//PAGEBREAK!
// Allocate an inode on device dev.
// Mark it as allocated by giving it type type.
// Returns an unlocked but allocated and referenced inode.
@@ -363,7 +362,6 @@ iunlockput(struct inode *ip)
iput(ip);
}
-//PAGEBREAK!
// Inode content
//
// The content (data) associated with each inode is stored
@@ -450,7 +448,6 @@ stati(struct inode *ip, struct stat *st)
st->size = ip->size;
}
-//PAGEBREAK!
// Read data from inode.
// Caller must hold ip->lock.
// If user_dst==1, then dst is a user virtual address;
@@ -476,7 +473,6 @@ readi(struct inode *ip, int user_dst, uint64 dst, uint off, uint n)
return n;
}
-// PAGEBREAK!
// Write data to inode.
// Caller must hold ip->lock.
// If user_src==1, then src is a user virtual address;
@@ -508,7 +504,6 @@ writei(struct inode *ip, int user_src, uint64 src, uint off, uint n)
return n;
}
-//PAGEBREAK!
// Directories
int
@@ -575,7 +570,6 @@ dirlink(struct inode *dp, char *name, uint inum)
return 0;
}
-//PAGEBREAK!
// Paths
// Copy the next path element from path into name.