commit | 9f2107382636cf9a71951eb71ec04f2fb3641b37 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 16 18:15:24 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 18 10:08:55 2017 -0600 |
tree | 39a0ef4899d6a9ea48a3a1637b1c86a6071f6dab | |
parent | 037cebb85b94027a52be69d72068e6f6d0dca3a3 [diff] |
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>