Re: [PATCH v3 3/4] logical: Clean up allocation when building regex on the fly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 01, 2016 at 03:29:52PM -0500, John Ferlan wrote:
> Rather than a loop reallocating space to build the regex, just allocate
> it once up front, then if there's more than 1 nextent, append a comma and
> another regex_unit string.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/storage/storage_backend_logical.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]