From ce475f245aab7dac857158d155a273c4c5808b3d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 17 Apr 1995 15:37:59 +0000 Subject: Formerly ialloc.c.~12~ --- ext2fs/ialloc.c | 8 ++++---- 1 file 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; -- cgit v1.2.3