summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 15:41:05 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 15:41:05 +0000
commit34232c97762c0d71bdb75ee1a84997476fb316d8 (patch)
treec7bb7db9f1fec796c7e17a3050e98d393caade59
parentf000e947ebd3663bce1c928aa89a87efa21a2760 (diff)
Formerly ialloc.c.~13~
-rw-r--r--ext2fs/ialloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index 151123b9..5cae3c84 100644
--- a/ext2fs/ialloc.c
+++ b/ext2fs/ialloc.c
@@ -298,12 +298,12 @@ diskfs_alloc_node (struct node *dir, mode_t mode, struct node **node)
/*
* Set up a new generation number for this inode.
*/
- spin_lock (&gennumberlock);
+ spin_lock (&generation_lock);
sex = diskfs_mtime->seconds;
if (++nextgennumber < (u_long)sex)
nextgennumber = sex;
np->dn_stat.st_gen = nextgennumber;
- spin_unlock (&gennumberlock);
+ spin_unlock (&generation_lock);
alloc_sync (np);