From 8e16847ae562d2d78e984f25bdd5169638ba5da8 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 17 Apr 1995 15:37:49 +0000 Subject: Formerly balloc.c.~12~ --- ext2fs/balloc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c index 884b4152..352f1100 100644 --- a/ext2fs/balloc.c +++ b/ext2fs/balloc.c @@ -101,8 +101,8 @@ ext2_free_blocks (unsigned long block, unsigned long count) } } - pokel_add (&sblock_pokel, bh, block_size); - pokel_add (&sblock_pokel, gdp, sizeof *gdp); + pokel_add (&global_pokel, bh, block_size); + pokel_add (&global_pokel, gdp, sizeof *gdp); sblock_dirty = 1; spin_unlock (&global_lock); @@ -315,7 +315,7 @@ got_block: j = tmp; - pokel_add (&sblock_pokel, bh, block_size); + pokel_add (&global_pokel, bh, block_size); if (j >= sblock->s_blocks_count) { @@ -328,13 +328,13 @@ got_block: bh = bptr (j); memset (bh, 0, block_size); - pokel_add (&sblock_pokel, bh, block_size); + pokel_add (&global_pokel, bh, block_size); ext2_debug ("allocating block %d. " "Goal hits %d of %d.\n", j, goal_hits, goal_attempts); gdp->bg_free_blocks_count--; - pokel_add (&sblock_pokel, gdp, sizeof *gdp); + pokel_add (&global_pokel, gdp, sizeof *gdp); sblock->s_free_blocks_count--; sblock_dirty = 1; -- cgit v1.2.3