summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2014-08-28 17:04:47 -0400
committerRobert Morris <[email protected]>2014-08-28 17:04:47 -0400
commite2b4583d055b8fe3663f4032d952519e77b03adf (patch)
treeb5d9f8071d6ff03edbb61bff272fef059b2b855e /fs.c
parent8d618cab78c91e4936bade94e9dcbf8fb54fbb19 (diff)
downloadxv6-labs-e2b4583d055b8fe3663f4032d952519e77b03adf.tar.gz
xv6-labs-e2b4583d055b8fe3663f4032d952519e77b03adf.tar.bz2
xv6-labs-e2b4583d055b8fe3663f4032d952519e77b03adf.zip
xx
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 7af93d2..1803cb4 100644
--- a/fs.c
+++ b/fs.c
@@ -321,7 +321,7 @@ iput(struct inode *ip)
{
acquire(&icache.lock);
if(ip->ref == 1 && (ip->flags & I_VALID) && ip->nlink == 0){
- // inode has no links and no other references: truncate and free inode.
+ // inode has no links and no other references: truncate and free.
if(ip->flags & I_BUSY)
panic("iput busy");
ip->flags |= I_BUSY;