summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c
index 0ae368e6..92c907b2 100644
--- a/ext2fs/truncate.c
+++ b/ext2fs/truncate.c
@@ -373,7 +373,7 @@ diskfs_truncate (struct node *np, off_t length)
force_delayed_copies (np, length);
- rwlock_writer_lock (&np->dn->allocptrlock);
+ rwlock_writer_lock (&np->dn->alloc_lock);
/* Update the size on disk; fsck will finish freeing blocks if necessary
should we crash. */