diff options
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index d48e8b14928c..6866bc233e94 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -1054,7 +1054,8 @@ unsigned long ext4_count_free_inodes(struct super_block *sb) | |||
1054 | if (!bitmap_bh) | 1054 | if (!bitmap_bh) |
1055 | continue; | 1055 | continue; |
1056 | 1056 | ||
1057 | x = ext4_count_free(bitmap_bh, EXT4_INODES_PER_GROUP(sb) / 8); | 1057 | x = ext4_count_free(bitmap_bh->b_data, |
1058 | EXT4_INODES_PER_GROUP(sb) / 8); | ||
1058 | printk(KERN_DEBUG "group %lu: stored = %d, counted = %lu\n", | 1059 | printk(KERN_DEBUG "group %lu: stored = %d, counted = %lu\n", |
1059 | (unsigned long) i, ext4_free_inodes_count(sb, gdp), x); | 1060 | (unsigned long) i, ext4_free_inodes_count(sb, gdp), x); |
1060 | bitmap_count += x; | 1061 | bitmap_count += x; |