projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
options: 0.00 is a valid gauss dev
[fio.git]
/
mutex.c
diff --git
a/mutex.c
b/mutex.c
index a48e37d0f11a947efbdcb6a278c59b82b58b3372..16107dd4e5ca796701733354e31e95d5e0c9ae83 100644
(file)
--- a/
mutex.c
+++ b/
mutex.c
@@
-136,6
+136,7
@@
int fio_mutex_down_timeout(struct fio_mutex *mutex, unsigned int msecs)
if (!ret) {
mutex->value--;
pthread_mutex_unlock(&mutex->lock);
+ return 0;
}
pthread_mutex_unlock(&mutex->lock);