summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 471e4196..31c4429f 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -70,7 +70,7 @@ iget (ino_t inum, struct node **npp)
dn->number = inum;
dn->dirents = 0;
- rwlock_init (&dn->allocptrlock);
+ rwlock_init (&dn->alloc_lock);
pokel_init (&dn->pokel, diskpager->p, disk_image);
dn->fileinfo = 0;