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
9p-local.h
9p-posix-acl.c
9p-proxy.c
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
cofile.c
cofs.c
coth.c
coth.h
coxattr.c
Kconfig
meson.build
trace-events
trace.h
virtio-9p-device.c
virtio-9p.h
xen-9p-backend.c
xen-9pfs.h