summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 15:37:49 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 15:37:49 +0000
commit8e16847ae562d2d78e984f25bdd5169638ba5da8 (patch)
treeaf4ced50dbf36090fe3ba001ba0d0d3f838b452e
parent7f11131ca1863fa53946f4fdb437974196bbdd55 (diff)
Formerly balloc.c.~12~
-rw-r--r--ext2fs/balloc.c10
1 files 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;