btrfs-progs: mkfs: print incompat and runtime features on one line

We've deprecated the -R option and runtime feature distinction, there's
only one option -O recommended so let it also print on the same line.
Incompat/compat/runtime status of a feature shall be consulted with the
documentation.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2024-01-18 04:19:35 +01:00
parent e406abb157
commit 3d1a3c8c5a

View File

@ -2026,13 +2026,7 @@ raid_groups:
printf(" Zone size: %s\n",
pretty_size(fs_info->zone_size));
btrfs_parse_fs_features_to_string(features_buf, &features);
#if EXPERIMENTAL
printf("Features: %s\n", features_buf);
#else
printf("Incompat features: %s\n", features_buf);
btrfs_parse_runtime_features_to_string(features_buf, &features);
printf("Runtime features: %s\n", features_buf);
#endif
printf("Checksum: %s\n",
btrfs_super_csum_name(mkfs_cfg.csum_type));