From 7491eb25ca513da569175ce285a298b819237cc3 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 11 Apr 1995 14:36:00 +0000 Subject: Formerly truncate.c.~2~ --- ext2fs/truncate.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index 94a64f3e..9660a416 100644 --- a/ext2fs/truncate.c +++ b/ext2fs/truncate.c @@ -48,7 +48,7 @@ static int trunc_direct (struct inode * inode) { u32 * p; int i, tmp; - struct buffer_head * bh; + char * bh; unsigned long block_to_free = 0; unsigned long free_count = 0; int retry = 0; @@ -106,8 +106,8 @@ repeat: static int trunc_indirect (struct inode * inode, int offset, u32 * p) { int i, tmp; - struct buffer_head * bh; - struct buffer_head * ind_bh; + char * bh; + char * ind_bh; u32 * ind; unsigned long block_to_free = 0; unsigned long free_count = 0; @@ -203,7 +203,7 @@ static int trunc_dindirect (struct inode * inode, int offset, u32 * p) { int i, tmp; - struct buffer_head * dind_bh; + char * dind_bh; u32 * dind; int retry = 0; int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); @@ -262,7 +262,7 @@ repeat: static int trunc_tindirect (struct inode * inode) { int i, tmp; - struct buffer_head * tind_bh; + char * tind_bh; u32 * tind, * p; int retry = 0; int addr_per_block = EXT2_ADDR_PER_BLOCK(inode->i_sb); @@ -321,7 +321,7 @@ repeat: void ext2_truncate (struct inode * inode) { int retry; - struct buffer_head * bh; + char * bh; int err; int offset; -- cgit v1.2.3