diff options
Diffstat (limited to 'ext2fs/ialloc.c')
-rw-r--r-- | ext2fs/ialloc.c | 4 |
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); |