mtip32xx: use BLK_STS_DEV_RESOURCE for device resources
authorJens Axboe <axboe@kernel.dk>
Mon, 10 Dec 2018 21:45:19 +0000 (14:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Dec 2018 21:45:19 +0000 (14:45 -0700)
commit4ba09f69e20d0a768d91277847ddbd31f476590e
treeb45876161b02fcff299a91b068c89b2fdeb01385
parente4025e46f093d4549d3043c2c54d444cec480d2b
mtip32xx: use BLK_STS_DEV_RESOURCE for device resources

For cases where we can only fail with IO in-flight, we should be using
BLK_STS_DEV_RESOURCE instead of BLK_STS_RESOURCE. The latter refers to
system wide resource constraints.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c