summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-16 20:12:25 +0000
committerMiles Bader <miles@gnu.org>1995-04-16 20:12:25 +0000
commit8316402e8aaed2a05508d7b23c6d587d4fecf7a0 (patch)
tree3118c8015a533d3c21736ab1be5fa3217b5d3c64 /ext2fs
parentab51f364c53da905be4fc5b0622da15559a005fb (diff)
Formerly truncate.c.~6~
Diffstat (limited to 'ext2fs')
-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. */