From 64e272e74f8e8407dd6b7340f5a399c0e16e88d2 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 17 Jul 2024 05:04:35 +0200 Subject: [PATCH] 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 --- cmds/inspect.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmds/inspect.c b/cmds/inspect.c index 1826d0ab..0abe92b8 100644 --- a/cmds/inspect.c +++ b/cmds/inspect.c @@ -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] ", "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 ", "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 } };