summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorChristoph Hellwig2017-06-16 18:15:24 +0200
committerJens Axboe2017-06-18 18:08:55 +0200
commit9f2107382636cf9a71951eb71ec04f2fb3641b37 (patch)
tree39a0ef4899d6a9ea48a3a1637b1c86a6071f6dab /block/blk-mq-sched.c
parentblk-mq: streamline blk_mq_get_request (diff)
downloadkernel-qcow2-linux-9f2107382636cf9a71951eb71ec04f2fb3641b37.tar.gz
kernel-qcow2-linux-9f2107382636cf9a71951eb71ec04f2fb3641b37.tar.xz
kernel-qcow2-linux-9f2107382636cf9a71951eb71ec04f2fb3641b37.zip
bfq-iosched: fix NULL ioc check in bfq_get_rq_private
icq_to_bic is a container_of operation, so we need to check for NULL before it. Also move the check outside the spinlock while we're at it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions