summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-20 16:03:05 +0200
committerJens Axboe <axboe@fb.com>2017-04-20 20:16:10 +0200
commit8fc77980584035d816472070e8238200aa9c5c6c (patch)
treee2d70a1e8e676881c1c0cae119d402cf153950b8 /drivers/md/dm-mpath.c
parentdm rq: don't pass irrelevant error code to blk_mq_complete_request (diff)
downloadlinux-8fc77980584035d816472070e8238200aa9c5c6c.tar.xz
linux-8fc77980584035d816472070e8238200aa9c5c6c.zip
dm mpath: don't check for req->errors
We'll get all proper errors reported through ->end_io and ->errors will go away soon. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r--drivers/md/dm-mpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c
index ab55955ed704..2950b145443d 100644
--- a/drivers/md/dm-mpath.c
+++ b/drivers/md/dm-mpath.c
@@ -1492,7 +1492,7 @@ static int do_end_io(struct multipath *m, struct request *clone,
*/
int r = DM_ENDIO_REQUEUE;
- if (!error && !clone->errors)
+ if (!error)
return 0; /* I/O complete */
if (noretry_error(error))