diff options
author | Jens Axboe <axboe@fb.com> | 2014-05-30 16:11:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-05-30 16:11:50 +0200 |
commit | f89ca166460e84620db73d4542f28d34c40a8917 (patch) | |
tree | 6f7ef4b566879674d3dfc6e79b71561a49ac877e /drivers/block/mtip32xx | |
parent | Merge branch 'stable/for-jens-3.16' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
parent | blk-mq: blk_mq_tag_to_rq should handle flush request (diff) | |
download | linux-f89ca166460e84620db73d4542f28d34c40a8917.tar.xz linux-f89ca166460e84620db73d4542f28d34c40a8917.zip |
Merge branch 'for-3.16/core' into for-3.16/drivers
Pulled in for the blk_mq_tag_to_rq() change, which impacts
mtip32xx.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/mtip32xx')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 74abd49fabdc..abc858b3528b 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c @@ -193,9 +193,7 @@ static void mtip_put_int_command(struct driver_data *dd, struct mtip_cmd *cmd) static struct request *mtip_rq_from_tag(struct driver_data *dd, unsigned int tag) { - struct blk_mq_hw_ctx *hctx = dd->queue->queue_hw_ctx[0]; - - return blk_mq_tag_to_rq(hctx->tags, tag); + return blk_mq_tag_to_rq(dd->queue->queue_hw_ctx[0], tag); } static struct mtip_cmd *mtip_cmd_from_tag(struct driver_data *dd, |