[libvirt] [PATCH 03/10] util: Introduce virFileFlock

Ján Tomko jtomko at redhat.com
Thu Jun 7 21:45:17 UTC 2018


On Thu, Jun 07, 2018 at 03:54:24PM +0200, Martin Kletzander wrote:
>We already have virFileLock(), but we are now using flock() in the code as
>well (due to requirements for mutual exclusion between libvirt and other
>programs using flock() as well), so let's have a function for that as well so we
>don't need to have stubs for unsupported platforms in other files.
>
>Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
>---
> src/libvirt_private.syms |  1 +
> src/util/virfile.c       | 40 ++++++++++++++++++++++++++++++++++++++++
> src/util/virfile.h       |  2 ++
> 3 files changed, 43 insertions(+)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180607/04af1aac/attachment-0001.sig>


More information about the libvir-list mailing list