From d911d83ca1ff002f170f2c77975c1a6d705856a6 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 8 Sep 2006 13:55:43 +0000 Subject: fix various comments --- fs.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'fs.c') 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) { -- cgit v1.2.3