diff options
author | Jens Axboe <axboe@fb.com> | 2016-08-02 17:45:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-08-04 23:19:16 +0300 |
commit | c0f3fd2b387448d67ae83c4ce1cc69da375b9186 (patch) | |
tree | 30fa18a04776d8735fd75d7c7adf9c4eb36d24bf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6d25ec147e3a71858bed5439c92accd7f739a0a3 (diff) | |
download | linux-c0f3fd2b387448d67ae83c4ce1cc69da375b9186.tar.xz |
blk-mq: fix deadlock in blk_mq_register_disk() error path
If we fail registering any of the hardware queues, we call
into blk_mq_unregister_disk() with the hotplug mutex already
held. Since blk_mq_unregister_disk() attempts to acquire the
same mutex, we end up in a less than happy place.
Reported-by: Jinpu Wang <jinpu.wang@profitbricks.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions