From e6d4a173894491d0bac76f4038f05a444a68249f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sun, 16 Apr 1995 20:32:48 +0000 Subject: Formerly truncate.c.~8~ --- ext2fs/truncate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index 8abffe06..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 = baddr(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 = baddr (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 = baddr (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 = baddr (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 = baddr (block); + tind_bh = bptr (block); if (!tind_bh) { *p = 0; -- cgit v1.2.3