Christoph Hellwig 9f21073826 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>
2017-06-18 10:08:55 -06:00
..
2017-06-12 08:30:13 -06:00
2017-06-16 09:47:15 -06:00
2017-06-12 08:30:13 -06:00
2017-06-18 10:08:55 -06:00
2017-06-18 10:08:55 -06:00
2017-04-21 07:56:23 -06:00
2017-04-21 07:56:23 -06:00
2017-06-09 09:27:32 -06:00
2017-06-12 08:30:13 -06:00
2017-04-19 17:38:36 -06:00
2017-06-16 09:47:15 -06:00