summaryrefslogtreecommitdiff
path: root/ext2fs/ialloc.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-16 20:32:45 +0000
committerMiles Bader <miles@gnu.org>1995-04-16 20:32:45 +0000
commitedfdb9b538343d632c16859bb215b4cdb08709ab (patch)
tree131dddc4ebe59f80a032365a0322cf693155c431 /ext2fs/ialloc.c
parent623fef6d952f4978e24e23c3c0219946c754f30b (diff)
Formerly ialloc.c.~8~
Diffstat (limited to 'ext2fs/ialloc.c')
-rw-r--r--ext2fs/ialloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index 8f06fbc1..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 = baddr (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 = baddr (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 (baddr (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",