block: fix blk_abort_request for blk-mq drivers
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Oct 2015 12:47:04 +0000 (20:47 +0800)
committerJens Axboe <axboe@fb.com>
Tue, 24 Nov 2015 22:24:10 +0000 (15:24 -0700)
commit55ce0da1da287822e5ffb5fcd6e357180d5ba4cd
tree77961be3162f20856cc9ef33658cee08450b9368
parentbf508e910b02a6107a5aa054e03c6fc8a65dae1e
block: fix blk_abort_request for blk-mq drivers

We only added the request to the request list for the !blk-mq case,
so we should only delete it in that case as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-timeout.c