qemu-e2k/hw/9pfs
Mahmoud Mandour e4fd889f51 hw/9pfs/9p-synth: Replaced qemu_mutex_lock with QEMU_LOCK_GUARD
Replaced a call to qemu_mutex_lock and its respective call to
qemu_mutex_unlock and used QEMU_LOCK_GUARD macro in their place.
This simplifies the code by removing the call required to unlock
and also eliminates goto paths.

Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Acked-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Message-Id: <20210311031538.5325-9-ma.mandourr@gmail.com>
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
2021-03-16 11:41:49 +01:00
..
9p-local.c hw/9pfs : add spaces around operator 2020-11-05 15:14:03 +01:00
9p-local.h
9p-posix-acl.c
9p-proxy.c 9pfs/proxy: Check return value of proxy_marshal() 2021-01-21 17:49:45 +01:00
9p-proxy.h
9p-synth.c hw/9pfs/9p-synth: Replaced qemu_mutex_lock with QEMU_LOCK_GUARD 2021-03-16 11:41:49 +01:00
9p-synth.h
9p-util.c
9p-util.h
9p-xattr-user.c
9p-xattr.c
9p-xattr.h
9p.c qtest: delete superfluous inclusions of qtest.h 2021-03-09 06:03:53 +01:00
9p.h 9pfs: Convert reclaim list to QSLIST 2021-01-22 18:26:40 +01:00
codir.c 9pfs: add new function v9fs_co_readdir_many() 2020-08-12 09:17:32 +02:00
cofile.c
cofs.c hw/9pfs : add space before the open parenthesis '(' 2020-11-05 15:14:03 +01:00
coth.c
coth.h 9pfs: clarify latency of v9fs_co_run_in_worker() 2020-08-12 09:17:32 +02:00
coxattr.c
Kconfig hw/9pfs: Fix Kconfig dependency problem between 9pfs and Xen 2020-11-05 15:21:11 +01:00
meson.build hw/9pfs: Fix Kconfig dependency problem between 9pfs and Xen 2020-11-05 15:21:11 +01:00
trace-events
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
virtio-9p-device.c 9pfs: suppress performance warnings on qtest runs 2020-10-19 14:25:40 +02:00
virtio-9p.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
xen-9p-backend.c
xen-9pfs.h