qemu-e2k/net/can
Richard Henderson c60f599bcb util/log: Rename qemu_log_lock to qemu_log_trylock
This function can fail, which makes it more like ftrylockfile
or pthread_mutex_trylock than flockfile or pthread_mutex_lock,
so rename it.

To closer match the other trylock functions, release rcu_read_lock
along the failure path, so that qemu_log_unlock need not be called
on failure.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220417183019.755276-8-richard.henderson@linaro.org>
2022-04-20 10:51:11 -07:00
..
can_core.c net/can: Add can_dlc2len and can_len2dlc for CAN FD. 2020-09-30 19:11:37 +02:00
can_host.c can_host: Use class properties 2020-12-15 10:02:07 -05:00
can_socketcan.c util/log: Rename qemu_log_lock to qemu_log_trylock 2022-04-20 10:51:11 -07:00
meson.build meson: convert net directory to Meson 2020-08-21 06:30:23 -04:00