btrfs-progs: inspect list-chunks: move it out of experimental

The list-chunk command is deemed to be reasonably complete so make it
visible in the default build. The output can be tweaked later.

Issue: #559
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2024-07-17 05:04:35 +02:00
parent 4a1acc205a
commit 64e272e74f
1 changed files with 0 additions and 6 deletions

View File

@ -687,8 +687,6 @@ out:
}
static DEFINE_SIMPLE_COMMAND(inspect_min_dev_size, "min-dev-size");
#if EXPERIMENTAL
static const char * const cmd_inspect_list_chunks_usage[] = {
"btrfs inspect-internal list-chunks [options] <path>",
"Enumerate chunks on all devices",
@ -1138,8 +1136,6 @@ out:
}
static DEFINE_SIMPLE_COMMAND(inspect_list_chunks, "list-chunks");
#endif
static const char * const cmd_inspect_map_swapfile_usage[] = {
"btrfs inspect-internal map-swapfile <file>",
"Print physical offset of first block and resume offset if file is suitable as swapfile",
@ -1565,9 +1561,7 @@ static const struct cmd_group inspect_cmd_group = {
&cmd_struct_inspect_dump_tree,
&cmd_struct_inspect_dump_super,
&cmd_struct_inspect_tree_stats,
#if EXPERIMENTAL
&cmd_struct_inspect_list_chunks,
#endif
NULL
}
};