From c789d21a439cbcf97b9103f7f1f6bf86470c246b Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 24 Apr 1995 23:55:18 +0000 Subject: Formerly truncate.c.~14~ --- ext2fs/truncate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index fc63824e..b2d23bea 100644 --- a/ext2fs/truncate.c +++ b/ext2fs/truncate.c @@ -167,7 +167,7 @@ trunc_indirect (struct node * node, unsigned long length, bh = bptr (block); *ind = 0; - pokel_add (&node->dn->pokel, ind, sizeof *ind); + record_indir_poke (node, ind_bh); if (free_count == 0) { @@ -242,7 +242,7 @@ trunc_dindirect (struct node * node, unsigned long length, trunc_indirect (node, length, offset + (i * addr_per_block), dind); - pokel_add (&node->dn->pokel, dind_bh, block_size); + record_indir_poke (node, dind_bh); } dind = (u32 *) dind_bh; @@ -293,7 +293,7 @@ trunc_tindirect (struct node * node, unsigned long length) + addr_per_block + (i + 1) * addr_per_block * addr_per_block), tind); - pokel_add (&node->dn->pokel, tind_bh, block_size); + record_indir_poke (node, tind_bh); } tind = (u32 *) tind_bh; -- cgit v1.2.3