Richard Henderson <[email protected]> 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 <[email protected]> Reviewed-by: Alex Bennée <[email protected]> -- Alex Bennée
