From: Christoph Hellwig Date: Thu, 20 Apr 2017 14:03:05 +0000 (+0200) Subject: dm mpath: don't check for req->errors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8fc77980584035d816472070e8238200aa9c5c6c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Johannes Thumshirn Signed-off-by: Jens Axboe --- 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))