diff options
author | Miles Bader <miles@gnu.org> | 1995-04-17 15:41:33 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-17 15:41:33 +0000 |
commit | 9de6491886b9d3d724acb7bfc13d64ba3bb5b734 (patch) | |
tree | c055117640a5ff548fe74c8872f0be54019f7adf /ext2fs | |
parent | 1162bfe989b2980ff74d562e497e58aa50adf6da (diff) |
Formerly inode.c.~12~
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index 9158a3c8..3b172037 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -93,9 +93,9 @@ iget (ino_t inum, struct node **npp) if (!diskfs_readonly && !np->dn_stat.st_gen) { spin_lock (&generation_lock); - if (++nextgennumber < diskfs_mtime->seconds) - nextgennumber = diskfs_mtime->seconds; - np->dn_stat.st_gen = nextgennumber; + if (++next_generation < diskfs_mtime->seconds) + next_generation = diskfs_mtime->seconds; + np->dn_stat.st_gen = next_generation; spin_unlock (&generation_lock); np->dn_set_ctime = 1; } |