diff options
author | 2017-03-30 14:20:45 +0900 | |
---|---|---|
committer | 2017-03-30 08:13:05 -0600 | |
commit | 3e06eb3dacdff52749df85694cf6bc48283973c6 (patch) | |
tree | bc38f716ed89e087343088cd7eae45ccfef41d81 /block/sed-opal.c | |
parent | blk-mq: include errors in did_work calculation (diff) | |
download | linux-rng-3e06eb3dacdff52749df85694cf6bc48283973c6.tar.xz linux-rng-3e06eb3dacdff52749df85694cf6bc48283973c6.zip |
block: do not put mq context in blk_mq_alloc_request_hctx
In blk_mq_alloc_request_hctx, blk_mq_sched_get_request doesn't
get sw context so we don't need to put the context with
blk_mq_put_ctx. Unless, we will see preempt counter underflow.
Cc: Omar Sandoval <osandov@fb.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions