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:
parent
4a1acc205a
commit
64e272e74f
|
@ -687,8 +687,6 @@ out:
|
||||||
}
|
}
|
||||||
static DEFINE_SIMPLE_COMMAND(inspect_min_dev_size, "min-dev-size");
|
static DEFINE_SIMPLE_COMMAND(inspect_min_dev_size, "min-dev-size");
|
||||||
|
|
||||||
#if EXPERIMENTAL
|
|
||||||
|
|
||||||
static const char * const cmd_inspect_list_chunks_usage[] = {
|
static const char * const cmd_inspect_list_chunks_usage[] = {
|
||||||
"btrfs inspect-internal list-chunks [options] <path>",
|
"btrfs inspect-internal list-chunks [options] <path>",
|
||||||
"Enumerate chunks on all devices",
|
"Enumerate chunks on all devices",
|
||||||
|
@ -1138,8 +1136,6 @@ out:
|
||||||
}
|
}
|
||||||
static DEFINE_SIMPLE_COMMAND(inspect_list_chunks, "list-chunks");
|
static DEFINE_SIMPLE_COMMAND(inspect_list_chunks, "list-chunks");
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const char * const cmd_inspect_map_swapfile_usage[] = {
|
static const char * const cmd_inspect_map_swapfile_usage[] = {
|
||||||
"btrfs inspect-internal map-swapfile <file>",
|
"btrfs inspect-internal map-swapfile <file>",
|
||||||
"Print physical offset of first block and resume offset if file is suitable as swapfile",
|
"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_tree,
|
||||||
&cmd_struct_inspect_dump_super,
|
&cmd_struct_inspect_dump_super,
|
||||||
&cmd_struct_inspect_tree_stats,
|
&cmd_struct_inspect_tree_stats,
|
||||||
#if EXPERIMENTAL
|
|
||||||
&cmd_struct_inspect_list_chunks,
|
&cmd_struct_inspect_list_chunks,
|
||||||
#endif
|
|
||||||
NULL
|
NULL
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue