From 34232c97762c0d71bdb75ee1a84997476fb316d8 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 17 Apr 1995 15:41:05 +0000 Subject: Formerly ialloc.c.~13~ --- ext2fs/ialloc.c | 4 ++-- 1 file 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); -- cgit v1.2.3