[PATCH 15/36] remote_driver: Return 'virLockGuard' from 'remoteDriverLock'

Pavel Hrdina phrdina at redhat.com
Fri Jan 6 12:11:39 UTC 2023


On Thu, Jan 05, 2023 at 05:30:04PM +0100, Peter Krempa wrote:
> The function currently didn't have a return value. Returning the
> 'virLockGuard' struct allows the callers to use automatic unlocking of
> the mutex.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/remote/remote_driver.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230106/46cf78b6/attachment.sig>


More information about the libvir-list mailing list