|
@@ -667,7 +667,7 @@ ext4_fsblk_t ext4_count_free_clusters(struct super_block *sb)
|
|
continue;
|
|
continue;
|
|
|
|
|
|
x = ext4_count_free(bitmap_bh->b_data,
|
|
x = ext4_count_free(bitmap_bh->b_data,
|
|
- EXT4_BLOCKS_PER_GROUP(sb) / 8);
|
|
|
|
|
|
+ EXT4_CLUSTERS_PER_GROUP(sb) / 8);
|
|
printk(KERN_DEBUG "group %u: stored = %d, counted = %u\n",
|
|
printk(KERN_DEBUG "group %u: stored = %d, counted = %u\n",
|
|
i, ext4_free_group_clusters(sb, gdp), x);
|
|
i, ext4_free_group_clusters(sb, gdp), x);
|
|
bitmap_count += x;
|
|
bitmap_count += x;
|