aboutsummaryrefslogtreecommitdiff
path: root/misc/mke2fs.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-06-04 20:24:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-06-04 20:24:36 -0400
commit6a6337c3df7c982eb888764d585ec483a51af16e (patch)
treefb137967bee7878687c6561f48d4f4f8ceae2711 /misc/mke2fs.c
parent7501ce3ee331b7cdb965ab95036090f2de91b5e0 (diff)
parentbcb942c2013a92ff9a627ee79f14e52dba097538 (diff)
downloade2fsprogs-6a6337c3df7c982eb888764d585ec483a51af16e.tar.gz
Merge branch 'maint' into next
Conflicts: lib/ext2fs/bitmaps.c lib/ext2fs/rw_bitmaps.c misc/dumpe2fs.c
Diffstat (limited to 'misc/mke2fs.c')
-rw-r--r--misc/mke2fs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 48f76f87..718e2736 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -563,9 +563,10 @@ static void show_stats(ext2_filsys fs)
if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super,
EXT4_FEATURE_RO_COMPAT_BIGALLOC))
printf(_("Cluster size=%u (log=%u)\n"),
- fs->clustersize, s->s_log_cluster_size);
+ fs->blocksize << fs->cluster_ratio_bits,
+ s->s_log_cluster_size);
else
- printf(_("Fragment size=%u (log=%u)\n"), fs->clustersize,
+ printf(_("Fragment size=%u (log=%u)\n"), EXT2_CLUSTER_SIZE(s),
s->s_log_cluster_size);
printf(_("Stride=%u blocks, Stripe width=%u blocks\n"),
s->s_raid_stride, s->s_raid_stripe_width);