diff options
author | Gan Qixin <ganqixin@huawei.com> | 2020-12-03 15:50:52 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-12-11 17:52:39 +0100 |
commit | c37c97366097a5ce1919d6fe12535e5f889b0317 (patch) | |
tree | d8f11cef0bcfcfb7856be724876fc96a8507b302 /qom/container.c | |
parent | b785d25e91718a660546a6550f64b3c543af7754 (diff) |
block/accounting: Use lock guard macros
Replace manual lock()/unlock() calls with lock guard macros
(QEMU_LOCK_GUARD/WITH_QEMU_LOCK_GUARD) in block/accounting.
Signed-off-by: Gan Qixin <ganqixin@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20201203075055.127773-2-ganqixin@huawei.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qom/container.c')
0 files changed, 0 insertions, 0 deletions