Re: [PATCH 14/14] secret: Clean up virSecretObjListExport logic

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

 



On Mon, Apr 24, 2017 at 02:00:23PM -0400, John Ferlan wrote:
> Shorten the time needed to keep the list lock and alter the cleanup
> path to be more of an error path.
> 
> Utilize the the virObjectListFree function to handle the calls for
> virObjectUnref on each list element and the VIR_FREE of the list
> instead of open coding it.
> 
> Change the name of the virHashForEach callback to match the name
> of the Export function with the Callback added onto it.
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/conf/virsecretobj.c | 31 ++++++++++++++-----------------
>  1 file changed, 14 insertions(+), 17 deletions(-)

ACK

Pavel

Attachment: signature.asc
Description: Digital signature

--
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]
  Powered by Linux