diff options
author | Miles Bader <miles@gnu.org> | 1995-04-24 23:55:18 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-24 23:55:18 +0000 |
commit | c789d21a439cbcf97b9103f7f1f6bf86470c246b (patch) | |
tree | 042bb5968add689582d657a91fb329fd6813f5eb | |
parent | 0c1c895b03fd310ae54056af07e1759d62a19803 (diff) |
Formerly truncate.c.~14~
-rw-r--r-- | ext2fs/truncate.c | 6 |
1 files 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; |