summaryrefslogtreecommitdiff
path: root/btrfs.c
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 /btrfs.c
parent4f3a15d09a4172f7c82ad943a944d86328fa504c (diff)
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 'btrfs.c')
-rw-r--r--btrfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btrfs.c b/btrfs.c
index 599a3e77..76f725a9 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -240,6 +240,7 @@ const struct cmd_group btrfs_cmd_group = {
btrfs_cmd_group_usage, btrfs_cmd_group_info, {
{ "subvolume", cmd_subvolume, NULL, &subvolume_cmd_group, 0 },
{ "filesystem", cmd_filesystem, NULL, &filesystem_cmd_group, 0 },
+ { "balance", cmd_balance, NULL, &balance_cmd_group, 0 },
{ "device", cmd_device, NULL, &device_cmd_group, 0 },
{ "scrub", cmd_scrub, NULL, &scrub_cmd_group, 0 },
{ "inspect-internal", cmd_inspect, NULL, &inspect_cmd_group, 0 },