summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 15:37:59 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 15:37:59 +0000
commitce475f245aab7dac857158d155a273c4c5808b3d (patch)
tree9283f799a65485b05adc94cd838a7d2556dfdfba /ext2fs
parente61cc31b762fc75e40a806d4baaf3671e708df89 (diff)
Formerly ialloc.c.~12~
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ialloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index b1d57d93..151123b9 100644
--- a/ext2fs/ialloc.c
+++ b/ext2fs/ialloc.c
@@ -78,12 +78,12 @@ diskfs_free_node (struct node *np, mode_t old_mode)
ext2_warning ("ext2_free_inode", "bit already cleared for inode %u", inum);
else
{
- pokel_add (&sblock_pokel, bh, block_size);
+ pokel_add (&global_pokel, bh, block_size);
gdp->bg_free_inodes_count++;
if (S_ISDIR (old_mode))
gdp->bg_used_dirs_count--;
- pokel_add (&sblock_pokel, gdp, sizeof *gdp);
+ pokel_add (&global_pokel, gdp, sizeof *gdp);
sblock->s_free_inodes_count++;
}
@@ -221,7 +221,7 @@ repeat:
"bit already set for inode %d", inum);
goto repeat;
}
- pokel_add (&sblock_pokel, bh, block_size);
+ pokel_add (&global_pokel, bh, block_size);
}
else
{
@@ -248,7 +248,7 @@ repeat:
gdp->bg_free_inodes_count--;
if (S_ISDIR (mode))
gdp->bg_used_dirs_count++;
- pokel_add (&sblock_pokel, gdp, sizeof *gdp);
+ pokel_add (&global_pokel, gdp, sizeof *gdp);
sblock->s_free_inodes_count--;
sblock_dirty = 1;