From e2b4583d055b8fe3663f4032d952519e77b03adf Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Thu, 28 Aug 2014 17:04:47 -0400 Subject: [PATCH] xx --- fs.c | 2 +- param.h | 2 +- 2 files changed, 2 insertions(+), 2 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; diff --git a/param.h b/param.h index bdac60c..8e007ca 100644 --- a/param.h +++ b/param.h @@ -9,5 +9,5 @@ #define MAXARG 32 // max exec arguments #define MAXOPBLOCKS 10 // max # of blocks any FS op writes #define LOGSIZE (MAXOPBLOCKS*3) // max data sectors in on-disk log -#define NBUF (MAXOPBLOCKS*3) // size of disk block cache (>= LOGSIZE) +#define NBUF (MAXOPBLOCKS*3) // size of disk block cache