summaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 15:41:33 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 15:41:33 +0000
commit9de6491886b9d3d724acb7bfc13d64ba3bb5b734 (patch)
treec055117640a5ff548fe74c8872f0be54019f7adf /ext2fs/inode.c
parent1162bfe989b2980ff74d562e497e58aa50adf6da (diff)
Formerly inode.c.~12~
Diffstat (limited to 'ext2fs/inode.c')
-rw-r--r--ext2fs/inode.c6
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;
}