Re: [PATCH 3/4] block/throttle-groups.c: Use lock guard macros

2020-12-02 Thread Kevin Wolf
Am 09.11.2020 um 16:43 hat Gan Qixin geschrieben: > Replace manual lock()/unlock() calls with lock guard macros > (QEMU_LOCK_GUARD/WITH_QEMU_LOCK_GUARD) in block/throttle-groups.c. > > Signed-off-by: Gan Qixin > @@ -638,14 +636,14 @@ void > throttle_group_detach_aio_context(ThrottleGroupMember

[PATCH 3/4] block/throttle-groups.c: Use lock guard macros

2020-11-09 Thread Gan Qixin
Replace manual lock()/unlock() calls with lock guard macros (QEMU_LOCK_GUARD/WITH_QEMU_LOCK_GUARD) in block/throttle-groups.c. Signed-off-by: Gan Qixin --- block/throttle-groups.c | 48 - 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/bloc