From d9797317454f4361eb1a757906fbe3475769d021 Mon Sep 17 00:00:00 2001 From: anson-lo <83398016+anson-lo@users.noreply.github.com> Date: Sun, 1 Aug 2021 12:33:22 +0800 Subject: [PATCH] Fix an error triggered by double releasing the lock Fix an error triggered by double releasing the lock. Fixes: https://github.com/axboe/fio/issues/1254. Signed-off-by: Anson Lo ycaibb@gmail.com --- verify.c | 1 - 1 file changed, 1 deletion(-) diff --git a/verify.c b/verify.c index a418c054..0e1e4639 100644 --- a/verify.c +++ b/verify.c @@ -1411,7 +1411,6 @@ static void *verify_async_thread(void *data) ret = pthread_cond_wait(&td->verify_cond, &td->io_u_lock); if (ret) { - pthread_mutex_unlock(&td->io_u_lock); break; } } -- 2.25.1