summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorAustin Clements <[email protected]>2009-10-24 21:31:01 -0400
committerAustin Clements <[email protected]>2009-10-24 21:31:01 -0400
commit745e73cd3da656b9f115abb1b92df3aa8ef88e98 (patch)
tree77140e967fb51d6a8e8d71c0e83bc0dacbaae22a /fs.c
parent2c536bff67ed209b1c5aa3d40e40731813bfcd9a (diff)
downloadxv6-labs-745e73cd3da656b9f115abb1b92df3aa8ef88e98.tar.gz
xv6-labs-745e73cd3da656b9f115abb1b92df3aa8ef88e98.tar.bz2
xv6-labs-745e73cd3da656b9f115abb1b92df3aa8ef88e98.zip
Comment typo
Diffstat (limited to 'fs.c')
-rw-r--r--fs.c2
1 files changed, 1 insertions, 1 deletions
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.