diff options
author | Miles Bader <miles@gnu.org> | 1995-04-16 20:35:06 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-16 20:35:06 +0000 |
commit | 299b840003dd97a88e6fb6d1f89f2fbd5c346937 (patch) | |
tree | cdff68aaf8b975c2e6b664c1d96743948c1f31ad | |
parent | 3a01136bfcde02b95a28084daf7c2f97385d91ff (diff) |
Formerly ialloc.c.~10~
-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", |