aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorFilippo Muzzini <[email protected]>2018-05-31 15:23:11 +0200
committerJens Axboe <[email protected]>2018-05-31 08:42:27 -0600
commita12bffebc0c9d6a5851f062aaea3aa7c4adc6042 (patch)
tree11e6b08516332e0f466882cb35f2a67c04a0b887 /tools/perf/util/c++/clang.cpp
parent04c4950d5b373ba712d928592e05e73510785bca (diff)
block, bfq: remove wrong lock in bfq_requests_merged
In bfq_requests_merged(), there is a deadlock because the lock on bfqq->bfqd->lock is held by the calling function, but the code of this function tries to grab the lock again. This deadlock is currently hidden by another bug (fixed by next commit for this source file), which causes the body of bfq_requests_merged() to be never executed. This commit removes the deadlock by removing the lock/unlock pair. Signed-off-by: Filippo Muzzini <[email protected]> Signed-off-by: Paolo Valente <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions