summaryrefslogtreecommitdiff
path: root/cmds-rescue.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-rescue.c')
-rw-r--r--cmds-rescue.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/cmds-rescue.c b/cmds-rescue.c
index 0dbff2dc..98954254 100644
--- a/cmds-rescue.c
+++ b/cmds-rescue.c
@@ -43,15 +43,6 @@ static const char * const cmd_rescue_chunk_recover_usage[] = {
NULL
};
-static const char * const cmd_rescue_super_recover_usage[] = {
- "btrfs rescue super-recover [options] <device>",
- "Recover bad superblocks from good copies",
- "",
- "-y Assume an answer of `yes' to all questions",
- "-v Verbose mode",
- NULL
-};
-
static int cmd_rescue_chunk_recover(int argc, char *argv[])
{
int ret = 0;
@@ -103,6 +94,15 @@ static int cmd_rescue_chunk_recover(int argc, char *argv[])
return ret;
}
+static const char * const cmd_rescue_super_recover_usage[] = {
+ "btrfs rescue super-recover [options] <device>",
+ "Recover bad superblocks from good copies",
+ "",
+ "-y Assume an answer of `yes' to all questions",
+ "-v Verbose mode",
+ NULL
+};
+
/*
* return codes:
* 0 : All superblocks are valid, no need to recover