diff options
Diffstat (limited to 'ext2fs/ialloc.c')
-rw-r--r-- | ext2fs/ialloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c index 5b9f5f89..8619f692 100644 --- a/ext2fs/ialloc.c +++ b/ext2fs/ialloc.c @@ -72,7 +72,7 @@ diskfs_free_node (struct node *np, mode_t old_mode) bit = (inum - 1) % sblock->s_inodes_per_group; gdp = group_desc (block_group); - bh = block_image (gdp->bg_inode_bitmap); + bh = bptr (gdp->bg_inode_bitmap); if (!clear_bit (bit, bh)) ext2_warning ("ext2_free_inode", "bit already cleared for inode %u", inum); @@ -210,7 +210,7 @@ repeat: return 0; } - bh = block_image (gdp->bg_inode_bitmap); + bh = bptr (gdp->bg_inode_bitmap); if ((inum = find_first_zero_bit ((unsigned long *) bh, sblock->s_inodes_per_group)) < sblock->s_inodes_per_group) @@ -363,7 +363,7 @@ ext2_check_inodes_bitmap () { gdp = group_desc (i); desc_count += gdp->bg_free_inodes_count; - x = count_free (block_image (gdp->bg_inode_bitmap), + x = count_free (bptr (gdp->bg_inode_bitmap), sblock->s_inodes_per_group / 8); if (gdp->bg_free_inodes_count != x) ext2_error ("ext2_check_inodes_bitmap", |