summaryrefslogtreecommitdiff
path: root/ext2fs/ialloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/ialloc.c')
-rw-r--r--ext2fs/ialloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index 5465bca9..2a733909 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 (&global_pokel, bh, block_size);
+ record_global_poke (bh);
gdp->bg_free_inodes_count++;
if (S_ISDIR (old_mode))
gdp->bg_used_dirs_count--;
- pokel_add (&global_pokel, gdp, sizeof *gdp);
+ record_global_poke (gdp);
sblock->s_free_inodes_count++;
}
@@ -221,7 +221,7 @@ repeat:
"bit already set for inode %d", inum);
goto repeat;
}
- pokel_add (&global_pokel, bh, block_size);
+ record_global_poke (bh);
}
else
{
@@ -248,7 +248,7 @@ repeat:
gdp->bg_free_inodes_count--;
if (S_ISDIR (mode))
gdp->bg_used_dirs_count++;
- pokel_add (&global_pokel, gdp, sizeof *gdp);
+ record_global_poke (gdp);
sblock->s_free_inodes_count--;
sblock_dirty = 1;