summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-26 01:42:39 +0000
committerMiles Bader <miles@gnu.org>1995-04-26 01:42:39 +0000
commit8576ed5d7edbed3727f20c87faa755a46db9838f (patch)
tree5c159c15ad52c3fb6583812d7752ca9258536957 /ext2fs
parent6086092216008eb45407a8713a58f7ca0cc6a864 (diff)
Formerly balloc.c.~15~
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/balloc.c7
1 files 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;