-----Original Message-----
From: Richard W.M. Jones [mailto:rjones@redhat.com]
Sent: Thursday, May 28, 2015 7:07 PM
To: Chen, Hanxiao/陈 晗霄
Cc: libguestfs(a)redhat.com
Subject: Re: [Libguestfs] [PATCH v2 03/11] resize: updated find_partition to support
logical partition
On Wed, May 20, 2015 at 06:51:29AM -0400, Chen Hanxiao wrote:
> As we splited the original partitions list to
> partitions and logical_partitions.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao(a)cn.fujitsu.com>
> ---
> resize/resize.ml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/resize/resize.ml b/resize/resize.ml
> index d7a8ce1..92f7304 100644
> --- a/resize/resize.ml
> +++ b/resize/resize.ml
> @@ -616,6 +616,8 @@ read the man page virt-resize(1).
> let hash = Hashtbl.create 13 in
> List.iter (fun ({ p_name = name } as p) -> Hashtbl.add hash name p)
> partitions;
> + List.iter (fun ({ p_name = name } as p) -> Hashtbl.add hash name p)
> + logical_partitions;
> fun ~option name ->
> let name =
> if String.length name < 5 || String.sub name 0 5 <>
"/dev/" then
If we're going to group these patches together, this should be merged
into the previous patch.
Sure.
Regards,
- Chen