summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-17 16:24:29 +0000
committerMiles Bader <miles@gnu.org>1995-04-17 16:24:29 +0000
commit5c45a93ca226af113e05d9003c59d21ad827952a (patch)
tree0faddb4657cbd35531753c8c34a2bc95ee57234b
parent9de6491886b9d3d724acb7bfc13d64ba3bb5b734 (diff)
Formerly ialloc.c.~15~
-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;