From: Austin Clements Date: Sun, 25 Oct 2009 01:31:01 +0000 (-0400) Subject: Comment typo X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=745e73cd3da656b9f115abb1b92df3aa8ef88e98;p=cs3210-lab1.git Comment typo --- diff --git a/fs.c b/fs.c index 19843e6..15a4d35 100644 --- a/fs.c +++ b/fs.c @@ -314,7 +314,7 @@ iunlockput(struct inode *ip) // The contents (data) associated with each inode is stored // in a sequence of blocks on the disk. The first NDIRECT blocks // are listed in ip->addrs[]. The next NINDIRECT blocks are -// listed in the block ip->addrs[INDIRECT]. +// listed in the block ip->addrs[NDIRECT]. // Return the disk block address of the nth block in inode ip. // If there is no such block, bmap allocates one.