path: root/commands.h
diff options
authorIan Kumlien <>2013-02-08 01:37:02 +0100
committerDavid Sterba <>2013-02-12 23:46:15 +0100
commite43cc461550130494194201037590a2b1f0f6880 (patch)
tree2ab08a012acda54d7c60773ec219401d9a3b937d /commands.h
parent1b1e07190f84440ab7806453f4744aef6c27b46e (diff)
Btrfs-progs: add restore command to btrfs
Add 'btrfs restore' command which previously existed as a separate utility btrfs-restore. Signed-off-by: Ian Kumlien <> Signed-off-by: David Sterba <>
Diffstat (limited to 'commands.h')
1 files changed, 5 insertions, 1 deletions
diff --git a/commands.h b/commands.h
index ddb636f7..15c616d5 100644
--- a/commands.h
+++ b/commands.h
@@ -93,8 +93,8 @@ extern const struct cmd_group replace_cmd_group;
extern const char * const cmd_send_usage[];
extern const char * const cmd_receive_usage[];
extern const char * const cmd_check_usage[];
+extern const char * const cmd_restore_usage[];
int cmd_subvolume(int argc, char **argv);
int cmd_filesystem(int argc, char **argv);
@@ -108,6 +108,10 @@ int cmd_receive(int argc, char **argv);
int cmd_quota(int argc, char **argv);
int cmd_qgroup(int argc, char **argv);
int cmd_replace(int argc, char **argv);
+int cmd_restore(int argc, char **argv);
+int cmd_select_super(int argc, char **argv);
+int cmd_dump_super(int argc, char **argv);
+int cmd_debug_tree(int argc, char **argv);
/* subvolume exported functions */
int test_issubvolume(char *path);