From 9de6491886b9d3d724acb7bfc13d64ba3bb5b734 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 17 Apr 1995 15:41:33 +0000 Subject: Formerly inode.c.~12~ --- ext2fs/inode.c | 6 +++--- 1 file 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; } -- cgit v1.2.3