diff options
author | Miles Bader <miles@gnu.org> | 1995-04-17 16:24:37 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-17 16:24:37 +0000 |
commit | 8eadad33b59b302568ee76c18d79dd5c81de5766 (patch) | |
tree | dfefcb70629dbd0fd5c87ff3b6fb79464129ae49 | |
parent | 5c45a93ca226af113e05d9003c59d21ad827952a (diff) |
Formerly balloc.c.~13~
-rw-r--r-- | ext2fs/balloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext2fs/balloc.c b/ext2fs/balloc.c index 352f1100..e552f775 100644 --- a/ext2fs/balloc.c +++ b/ext2fs/balloc.c @@ -101,10 +101,10 @@ ext2_free_blocks (unsigned long block, unsigned long count) } } - pokel_add (&global_pokel, bh, block_size); - pokel_add (&global_pokel, gdp, sizeof *gdp); - + record_global_poke (bh); + record_global_poke (gdp); sblock_dirty = 1; + spin_unlock (&global_lock); alloc_sync (0); @@ -315,7 +315,7 @@ got_block: j = tmp; - pokel_add (&global_pokel, bh, block_size); + record_global_poke (bh); if (j >= sblock->s_blocks_count) { @@ -328,13 +328,13 @@ got_block: bh = bptr (j); memset (bh, 0, block_size); - pokel_add (&global_pokel, bh, block_size); + record_global_poke (bh); ext2_debug ("allocating block %d. " "Goal hits %d of %d.\n", j, goal_hits, goal_attempts); gdp->bg_free_blocks_count--; - pokel_add (&global_pokel, gdp, sizeof *gdp); + record_global_poke (gdp); sblock->s_free_blocks_count--; sblock_dirty = 1; |