[libvirt] [PATCH v3 1/4] logical: Use VIR_APPEND_ELEMENT instead of VIR_REALLOC_N
Pavel Hrdina
phrdina at redhat.com
Tue Feb 2 13:19:19 UTC 2016
On Mon, Feb 01, 2016 at 03:29:50PM -0500, John Ferlan wrote:
> Rather than preallocating a set number of elements, then walking through
> the extents and adjusting the specific element in place, use the APPEND
> macros to handle that chore.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/conf/storage_conf.h | 2 +-
> src/storage/storage_backend_logical.c | 20 ++++++++++----------
> 2 files changed, 11 insertions(+), 11 deletions(-)
ACK
More information about the libvir-list
mailing list