summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranson-lo <83398016+anson-lo@users.noreply.github.com>2021-08-01 12:33:22 +0800
committerGitHub <noreply@github.com>2021-08-01 12:33:22 +0800
commitd9797317454f4361eb1a757906fbe3475769d021 (patch)
tree8819dba612c97915414e868d904c2365070277ce
parent7c8e6725155cae72a0a730d3c3a36776bc5621a3 (diff)
downloadfio-d9797317454f4361eb1a757906fbe3475769d021.tar.gz
fio-d9797317454f4361eb1a757906fbe3475769d021.tar.bz2
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
-rw-r--r--verify.c1
1 files changed, 0 insertions, 1 deletions
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;
}
}