[Pkg-libvirt-commits] [libguestfs] 183/384: btrfs: replace "btrfs filesystem balance" with "btrfs balance"

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 16:56:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 47f0336e09faf49ec68cdd389fc1a07907b43211
Author: Hu Tao <hutao at cn.fujitsu.com>
Date:   Fri Jan 16 10:23:39 2015 +0800

    btrfs: replace "btrfs filesystem balance" with "btrfs balance"
    
    "btrfs filesystem balance" is deprecated in favor of "btrfs balance".
    
    Signed-off-by: Hu Tao <hutao at cn.fujitsu.com>
---
 daemon/btrfs.c       | 1 -
 generator/actions.ml | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 327cb23..60108eb 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -669,7 +669,6 @@ do_btrfs_filesystem_balance (const char *fs)
   }
 
   ADD_ARG (argv, i, str_btrfs);
-  ADD_ARG (argv, i, "filesystem");
   ADD_ARG (argv, i, "balance");
   ADD_ARG (argv, i, fs_buf);
   ADD_ARG (argv, i, NULL);
diff --git a/generator/actions.ml b/generator/actions.ml
index f62c3e5..b9844c7 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -10354,6 +10354,7 @@ Force sync on the btrfs filesystem mounted at C<fs>." };
   { defaults with
     name = "btrfs_filesystem_balance";
     style = RErr, [Pathname "fs"], [];
+    fish_alias = ["btrfs-balance"];
     proc_nr = Some 328;
     optional = Some "btrfs"; camel_name = "BTRFSFilesystemBalance";
     shortdesc = "balance a btrfs filesystem";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list