Richard Henderson <richard.hender...@linaro.org> writes:
> 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. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée