summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2012-02-03 21:02:30 +0200
committerIlya Dryomov <idryomov@gmail.com>2012-02-03 21:02:30 +0200
commit888b7005ca03316ac930ad762fa86b04d9f28a5a (patch)
tree1bc67199f0e6d224c272885b4e3dc4cd31024bca /commands.h
parent4f3a15d09a4172f7c82ad943a944d86328fa504c (diff)
downloadbtrfs-progs-888b7005ca03316ac930ad762fa86b04d9f28a5a.tar.gz
Btrfs-progs: add 'balance' command group infrastructure
Add balance command group under both 'btrfs' and 'btrfs filesystem'. Preserve the old 'btrfs filesystem balance <path>' behaviour. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index 5d024c2..de2c75c 100644
--- a/commands.h
+++ b/commands.h
@@ -84,12 +84,14 @@ int open_file_or_dir(const char *fname);
extern const struct cmd_group subvolume_cmd_group;
extern const struct cmd_group filesystem_cmd_group;
+extern const struct cmd_group balance_cmd_group;
extern const struct cmd_group device_cmd_group;
extern const struct cmd_group scrub_cmd_group;
extern const struct cmd_group inspect_cmd_group;
int cmd_subvolume(int argc, char **argv);
int cmd_filesystem(int argc, char **argv);
+int cmd_balance(int argc, char **argv);
int cmd_device(int argc, char **argv);
int cmd_scrub(int argc, char **argv);
int cmd_inspect(int argc, char **argv);