[Pkg-libvirt-commits] [libguestfs] 11/66: resize: add function expand_partition_content
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:47:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.
commit 1e6dd6d2a31e21dc47cad26d0b06370e3894078b
Author: Hu Tao <hutao at cn.fujitsu.com>
Date: Fri Sep 19 15:39:13 2014 +0800
resize: add function expand_partition_content
Signed-off-by: Hu Tao <hutao at cn.fujitsu.com>
---
resize/resize.ml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/resize/resize.ml b/resize/resize.ml
index 9d56e23..356303c 100644
--- a/resize/resize.ml
+++ b/resize/resize.ml
@@ -1252,8 +1252,7 @@ read the man page virt-resize(1).
in
(* Expand partition content as required. *)
- List.iter (
- function
+ let expand_partition_content = function
| ({ p_operation = OpResize _ } as p)
when can_expand_content p.p_type ->
let source = p.p_name in
@@ -1269,7 +1268,8 @@ read the man page virt-resize(1).
do_expand_content target meth
| { p_operation = (OpCopy | OpIgnore | OpDelete | OpResize _) }
-> ()
- ) partitions;
+ in
+ List.iter expand_partition_content partitions;
(* Expand logical volume content as required. *)
List.iter (
--
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