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
9p-synth.h
9p-util.c
9p-util.h
9p-xattr-user.c
9p-xattr.c
9p-xattr.h
9p.c
9p.h
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