Skip to content

Commit

Permalink
xx
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Morris committed Aug 28, 2014
1 parent 8d618ca commit e2b4583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion param.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e2b4583

Please sign in to comment.