Skip to content

Commit b570b64

Browse files
committed
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>
1 parent 2ce4219 commit b570b64

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmds/inspect.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,6 @@ static int cmd_inspect_min_dev_size(const struct cmd_struct *cmd,
687687
}
688688
static DEFINE_SIMPLE_COMMAND(inspect_min_dev_size, "min-dev-size");
689689

690-
#if EXPERIMENTAL
691-
692690
static const char * const cmd_inspect_list_chunks_usage[] = {
693691
"btrfs inspect-internal list-chunks [options] <path>",
694692
"Enumerate chunks on all devices",
@@ -1138,8 +1136,6 @@ static int cmd_inspect_list_chunks(const struct cmd_struct *cmd,
11381136
}
11391137
static DEFINE_SIMPLE_COMMAND(inspect_list_chunks, "list-chunks");
11401138

1141-
#endif
1142-
11431139
static const char * const cmd_inspect_map_swapfile_usage[] = {
11441140
"btrfs inspect-internal map-swapfile <file>",
11451141
"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 = {
15651561
&cmd_struct_inspect_dump_tree,
15661562
&cmd_struct_inspect_dump_super,
15671563
&cmd_struct_inspect_tree_stats,
1568-
#if EXPERIMENTAL
15691564
&cmd_struct_inspect_list_chunks,
1570-
#endif
15711565
NULL
15721566
}
15731567
};

0 commit comments

Comments
 (0)