[libvirt] [PATCH 08/14] secret: Adjust logic to build file path in secretLoad
Daniel P. Berrange
berrange at redhat.com
Fri Feb 26 17:08:13 UTC 2016
On Thu, Feb 25, 2016 at 09:03:12AM -0500, John Ferlan wrote:
> The 'secretLoad' was essentially open coding virFileBuildPath.
>
> Adjust the logic to have the caller build the path and pass it. The net
> sum of ignoring the virFileBuildPath failure is the same as before where
> the failure to virAsprintf the path would have been ignored anyway in
> the secretLoad error path.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/secret/secret_driver.c | 29 ++++++++++++++---------------
> 1 file changed, 14 insertions(+), 15 deletions(-)
ACK
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list