From 8576ed5d7edbed3727f20c87faa755a46db9838f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 26 Apr 1995 01:42:39 +0000 Subject: Formerly balloc.c.~15~ --- ext2fs/balloc.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c index 497a3ea0..6b6972d6 100644 --- a/ext2fs/balloc.c +++ b/ext2fs/balloc.c @@ -328,7 +328,6 @@ got_block: bh = bptr (j); memset (bh, 0, block_size); - record_global_poke (bh); ext2_debug ("allocating block %d. " "Goal hits %d of %d.\n", j, goal_hits, goal_attempts); @@ -363,12 +362,12 @@ ext2_count_free_blocks () { gdp = group_desc (i); desc_count += gdp->bg_free_blocks_count; - x = count_free (bptr (gdb->bg_block_bitmap), block_size); - printk ("group %d: stored = %d, counted = %lu\n", + x = count_free (bptr (gdp->bg_block_bitmap), block_size); + printf ("group %d: stored = %d, counted = %lu\n", i, gdp->bg_free_blocks_count, x); bitmap_count += x; } - printk ("ext2_count_free_blocks: stored = %lu, computed = %lu, %lu\n", + printf ("ext2_count_free_blocks: stored = %lu, computed = %lu, %lu\n", sblock->s_free_blocks_count, desc_count, bitmap_count); spin_unlock (&global_lock); return bitmap_count; -- cgit v1.2.3