From 8316402e8aaed2a05508d7b23c6d587d4fecf7a0 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 16 Apr 1995 20:12:25 +0000 Subject: Formerly truncate.c.~6~ --- ext2fs/truncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext2fs') 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. */ -- cgit v1.2.3