mmc: complete requests from ->timeout
authorChristoph Hellwig <hch@lst.de>
Tue, 29 May 2018 13:52:35 +0000 (15:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 May 2018 14:59:21 +0000 (08:59 -0600)
commitad73d6feadbd7b000e2c06480ac4fa05e7c05fb9
tree315b5112ba46cdff2df60b13fa3761cb5f5480dc
parent1fc2b62edb228b37c2b4e7e5192becaecd72183f
mmc: complete requests from ->timeout

By completing the request entirely in the driver we can remove the
BLK_EH_HANDLED return value and thus the split responsibility between the
driver and the block layer that has been causing trouble.

[While this keeps existing behavior it seems to mismatch the comment,
 maintainers please chime in!]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mmc/core/queue.c