bfq: Remove superfluous conversion from RQ_BIC()
authorJan Kara <jack@suse.cz>
Thu, 19 May 2022 10:52:31 +0000 (12:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 19 May 2022 12:52:36 +0000 (06:52 -0600)
commite79cf8892e332b9dafc99aef02189a2897eced24
tree799dfd1175af2a90307750a5c51136b31dcb294a
parentc5ac56bb6110e42e79d3106866658376b2e48ab9
bfq: Remove superfluous conversion from RQ_BIC()

We store struct bfq_io_cq pointer in rq->elv.priv[0] in bfq_init_rq().
Thus a call to icq_to_bic() in RQ_BIC() is wrong. Luckily it does no
harm currently because struct io_iq is the first one in struct
bfq_io_cq.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220519105235.31397-3-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c