Re: [PATCH] util/filemonitor-inotify: Use QEMU_LOCK_GUARD()

Daniel P. BerrangĂ© <[email protected]> Mon, 29 Jun 2026 17:29:45 +0100
Newsgroups org.nongnu.qemu-trivial,org.nongnu.qemu-devel
Message-ID <[email protected]>
On Mon, Jun 22, 2026 at 10:36:47AM +0300, Evgeny Kolmakov wrote:
> Replace manual qemu_mutex_(un)lock() calls with
> QEMU_LOCK_GUARD() to remove 'goto cleanup' code
> 
> Signed-off-by: Evgeny Kolmakov <[email protected]>
> ---
>  util/filemonitor-inotify.c | 28 ++++++++--------------------
>  1 file changed, 8 insertions(+), 20 deletions(-)

Reviewed-by: Daniel P. BerrangĂ© <[email protected]>

and queued..


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|