diff options
author | Miles Bader <miles@gnu.org> | 1995-04-17 15:41:32 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-17 15:41:32 +0000 |
commit | 1162bfe989b2980ff74d562e497e58aa50adf6da (patch) | |
tree | 3a9f58add1e96dd9013604da767766232e026416 /ext2fs | |
parent | 4663ec0a445b9297cf979489574ceb1564b77793 (diff) |
Formerly ialloc.c.~14~
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/ialloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |