summaryrefslogtreecommitdiff
path: root/cmds-inspect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-inspect.c')
-rw-r--r--cmds-inspect.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cmds-inspect.c b/cmds-inspect.c
index c2bb862d..932765ba 100644
--- a/cmds-inspect.c
+++ b/cmds-inspect.c
@@ -329,6 +329,14 @@ out:
return !!ret;
}
+static const char* const cmd_inspect_min_dev_size_usage[] = {
+ "btrfs inspect-internal min-dev-size [options] <path>",
+ "Get the minimum size the device can be shrunk to. The",
+ "device id 1 is used by default.",
+ "--id DEVID specify the device id to query",
+ NULL
+};
+
struct dev_extent_elem {
u64 start;
/* inclusive end */
@@ -569,14 +577,6 @@ out:
return ret;
}
-static const char* const cmd_inspect_min_dev_size_usage[] = {
- "btrfs inspect-internal min-dev-size [options] <path>",
- "Get the minimum size the device can be shrunk to. The",
- "device id 1 is used by default.",
- "--id DEVID specify the device id to query",
- NULL
-};
-
static int cmd_inspect_min_dev_size(int argc, char **argv)
{
int ret;