Skip to content

Commit

Permalink
btrfs-progs: inspect list-chunks: move it out of experimental
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kdave committed Jul 17, 2024
1 parent 2ce4219 commit b570b64
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmds/inspect.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,6 @@ static int cmd_inspect_min_dev_size(const struct cmd_struct *cmd,
}
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",
Expand Down Expand Up @@ -1138,8 +1136,6 @@ static int cmd_inspect_list_chunks(const struct cmd_struct *cmd,
}
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",
Expand Down Expand Up @@ -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
}
};
Expand Down

0 comments on commit b570b64

Please sign in to comment.