diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-20 16:03:05 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-20 12:16:10 -0600 |
commit | 8fc77980584035d816472070e8238200aa9c5c6c (patch) | |
tree | e2d70a1e8e676881c1c0cae119d402cf153950b8 | |
parent | e0af413a45cbbf179a87fef0576882a8e6006244 (diff) | |
download | linux-8fc77980584035d816472070e8238200aa9c5c6c.tar.gz linux-8fc77980584035d816472070e8238200aa9c5c6c.tar.bz2 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>
-rw-r--r-- | drivers/md/dm-mpath.c | 2 |
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)) |