projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
ea66e04
)
Fix issue with td->mutex being used-after-free
author
Jens Axboe
<axboe@fb.com>
Mon, 10 Feb 2014 20:57:09 +0000
(13:57 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 10 Feb 2014 20:57:09 +0000
(13:57 -0700)
Depending on how the OS schedules the threads, it's not necessarily
safe to immediately free a mutex after we have been woken up.
Remove the td->mutex freeing to normal cleanup after the job is done.
Reported-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
No differences found