From 1162bfe989b2980ff74d562e497e58aa50adf6da Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 17 Apr 1995 15:41:32 +0000 Subject: Formerly ialloc.c.~14~ --- ext2fs/ialloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c index 5cae3c84..5465bca9 100644 --- a/ext2fs/ialloc.c +++ b/ext2fs/ialloc.c @@ -300,9 +300,9 @@ diskfs_alloc_node (struct node *dir, mode_t mode, struct node **node) */ spin_lock (&generation_lock); sex = diskfs_mtime->seconds; - if (++nextgennumber < (u_long)sex) - nextgennumber = sex; - np->dn_stat.st_gen = nextgennumber; + if (++next_generation < (u_long)sex) + next_generation = sex; + np->dn_stat.st_gen = next_generation; spin_unlock (&generation_lock); alloc_sync (np); -- cgit v1.2.3