diff options
author | Ming Lei <[email protected]> | 2019-06-11 17:31:53 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-06-13 03:05:58 -0600 |
commit | c326f846ebc2a30eca386b85dffba96e23803d81 (patch) | |
tree | 6ac0abaface94fbd7b0d60d7427b7351cfe245a4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fb5772cbfe48575711bf789767d561582376f7f1 (diff) |
blk-mq: remove WARN_ON(!q->elevator) from blk_mq_sched_free_requests
blk_mq_sched_free_requests() may be called in failure path in which
q->elevator may not be setup yet, so remove WARN_ON(!q->elevator) from
blk_mq_sched_free_requests for avoiding the false positive.
This function is actually safe to call in case of !q->elevator because
hctx->sched_tags is checked.
Cc: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Yi Zhang <[email protected]>
Fixes: c3e2219216c9 ("block: free sched's request pool in blk_cleanup_queue")
Reported-by: [email protected]
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions