summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-08 13:55:43 +0000
committerrsc <rsc>2006-09-08 13:55:43 +0000
commitd911d83ca1ff002f170f2c77975c1a6d705856a6 (patch)
treee6a394bfd74dbeaeece227ac21b2272bf618bfa2 /fs.c
parentec5783cbd2b52b3e566938fc8d07851e117005e2 (diff)
downloadxv6-labs-d911d83ca1ff002f170f2c77975c1a6d705856a6.tar.gz
xv6-labs-d911d83ca1ff002f170f2c77975c1a6d705856a6.tar.bz2
xv6-labs-d911d83ca1ff002f170f2c77975c1a6d705856a6.zip
fix various comments
Diffstat (limited to 'fs.c')
-rw-r--r--fs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs.c b/fs.c
index f3d28c6..a1f0bf5 100644
--- a/fs.c
+++ b/fs.c
@@ -26,9 +26,6 @@
// so we don't use spin locks. Instead, if a process wants to use
// a particular inode, it must sleep(ip) to wait for it to be not busy.
// See iget below.
-//
-// XXX Inodes with dev == 0 exist only in memory. They have no on-disk
-// representation. This functionality is used to implement pipes.
struct inode inode[NINODE];
struct spinlock inode_table_lock;
@@ -362,7 +359,6 @@ iincref(struct inode *ip)
}
// Copy stat information from inode.
-// XXX Assumes inode is from disk file system.
void
stati(struct inode *ip, struct stat *st)
{
@@ -376,7 +372,6 @@ stati(struct inode *ip, struct stat *st)
#define min(a, b) ((a) < (b) ? (a) : (b))
// Read data from inode.
-// XXX Assumes inode is from disk file system.
int
readi(struct inode *ip, char *dst, uint off, uint n)
{
@@ -440,7 +435,6 @@ newblock(struct inode *ip, uint lbn)
}
// Write data to inode.
-// XXX Assumes inode is from disk file system.
int
writei(struct inode *ip, char *addr, uint off, uint n)
{