summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 15:41:07 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 15:41:07 +0000
commit8d92b877b26d27776651497500b8d0b65c75ff7b (patch)
treec03118a2d6f6f74cee259d874bb829c62430bbe3
parent34232c97762c0d71bdb75ee1a84997476fb316d8 (diff)
Formerly inode.c.~11~
-rw-r--r--ext2fs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 0056d18a..9158a3c8 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -31,7 +31,7 @@
static struct node *nodehash[INOHSZ];
static error_t read_disknode (struct node *np);
-spin_lock_t gennumberlock = SPIN_LOCK_INITIALIZER;
+spin_lock_t generation_lock = SPIN_LOCK_INITIALIZER;
/* Initialize the inode hash table. */
void
@@ -92,11 +92,11 @@ iget (ino_t inum, struct node **npp)
if (!diskfs_readonly && !np->dn_stat.st_gen)
{
- spin_lock (&gennumberlock);
+ spin_lock (&generation_lock);
if (++nextgennumber < diskfs_mtime->seconds)
nextgennumber = diskfs_mtime->seconds;
np->dn_stat.st_gen = nextgennumber;
- spin_unlock (&gennumberlock);
+ spin_unlock (&generation_lock);
np->dn_set_ctime = 1;
}