diff options
author | Miles Bader <miles@gnu.org> | 1995-04-16 20:33:59 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-16 20:33:59 +0000 |
commit | 9c3f4d00db3f8402266fb63e32f88d660b6d158b (patch) | |
tree | 4f6806ebc73e8eaf8751d5154d9c6e917ea90f5f /ext2fs/truncate.c | |
parent | bcda074d39981e648cc552bf84772775a592471c (diff) |
Formerly truncate.c.~9~
Diffstat (limited to 'ext2fs/truncate.c')
-rw-r--r-- | ext2fs/truncate.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index 5d652255..524fd8ed 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 = bptr(block); + bh = block_image(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 = bptr (block); + ind_bh = block_image (block); if (!ind_bh) { *p = 0; return 0; @@ -137,7 +137,7 @@ trunc_indirect (struct node * node, unsigned long length, if (!block) continue; - bh = bptr (block); + bh = block_image (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 = bptr (block); + dind_bh = block_image (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 = bptr (block); + tind_bh = block_image (block); if (!tind_bh) { *p = 0; |