btrfs-progs: mkfs: print checksum type when running mkfs

As mkfs will grow new checksums, print the used checksum in it's
versbose output.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Johannes Thumshirn 2019-09-25 15:37:25 +02:00 committed by David Sterba
parent e4a8e1916d
commit 3c7387dee2
1 changed files with 3 additions and 1 deletions

View File

@ -1381,7 +1381,9 @@ raid_groups:
pretty_size(allocation.system));
printf("SSD detected: %s\n", ssd ? "yes" : "no");
btrfs_parse_features_to_string(features_buf, features);
printf("Incompat features: %s", features_buf);
printf("Incompat features: %s\n", features_buf);
printf("Checksum: %s",
btrfs_super_csum_name(mkfs_cfg.csum_type));
printf("\n");
list_all_devices(root);