summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-16 20:35:09 +0000
committerMiles Bader <miles@gnu.org>1995-04-16 20:35:09 +0000
commit5a6d808be8e8408ab40842b34b3f071b15aaa06f (patch)
treee9fc45e730df19556219d875efd206b90d399da8
parent299b840003dd97a88e6fb6d1f89f2fbd5c346937 (diff)
Formerly truncate.c.~10~
-rw-r--r--ext2fs/truncate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c
index 524fd8ed..5d652255 100644
--- a/ext2fs/truncate.c
+++ b/ext2fs/truncate.c
@@ -74,7 +74,7 @@ trunc_direct (struct node * node, unsigned long length)
if (!block)
continue;
- bh = block_image(block);
+ bh = bptr(block);
if (i < direct_block)
goto repeat;
@@ -121,7 +121,7 @@ trunc_indirect (struct node * node, unsigned long length,
if (!block)
return 0;
- ind_bh = block_image (block);
+ ind_bh = bptr (block);
if (!ind_bh) {
*p = 0;
return 0;
@@ -137,7 +137,7 @@ trunc_indirect (struct node * node, unsigned long length,
if (!block)
continue;
- bh = block_image (block);
+ bh = bptr (block);
if (i < indirect_block)
goto repeat;
@@ -199,7 +199,7 @@ trunc_dindirect (struct node * node, unsigned long length,
if (!block)
return 0;
- dind_bh = block_image (block);
+ dind_bh = bptr (block);
if (!dind_bh)
{
*p = 0;
@@ -251,7 +251,7 @@ trunc_tindirect (struct node * node, unsigned long length)
if (!(block = *p))
return 0;
- tind_bh = block_image (block);
+ tind_bh = bptr (block);
if (!tind_bh)
{
*p = 0;