aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-20 19:12:46 -0700
committerJens Axboe <axboe@kernel.dk>2018-11-20 19:12:46 -0700
commit0c62bff1fd633774756be6d88d71002cd37615e0 (patch)
tree1a121675ee9e6a9459681665d41450f4b5e28312 /drivers/scsi/scsi_error.c
parentblock: Initialize BIO I/O priority early (diff)
downloadwireguard-linux-0c62bff1fd633774756be6d88d71002cd37615e0.tar.xz
wireguard-linux-0c62bff1fd633774756be6d88d71002cd37615e0.zip
block: fix attempt to assign NULL io_context
If the first request allocated and issued by a process is a passhthrough request, we don't set up an IO context for it. Ensure that blk_mq_sched_assign_ioc() ignores a NULL io_context. Fixes: e2b3fa5af70c ("block: Remove bio->bi_ioc") Reported-by: Ming Lei <ming.lei@redhat.com> Tested-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions