xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 745e73cd3da656b9f115abb1b92df3aa8ef88e98
parent 2c536bff67ed209b1c5aa3d40e40731813bfcd9a
Author: Austin Clements <amdragon@mit.edu>
Date:   Sat, 24 Oct 2009 21:31:01 -0400

Comment typo

Diffstat:
Mfs.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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.