mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 23:24:50 +00:00
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>
This commit is contained in:
parent
e0af413a45
commit
8fc7798058
1 changed files with 1 additions and 1 deletions
|
@ -1492,7 +1492,7 @@ static int do_end_io(struct multipath *m, struct request *clone,
|
||||||
*/
|
*/
|
||||||
int r = DM_ENDIO_REQUEUE;
|
int r = DM_ENDIO_REQUEUE;
|
||||||
|
|
||||||
if (!error && !clone->errors)
|
if (!error)
|
||||||
return 0; /* I/O complete */
|
return 0; /* I/O complete */
|
||||||
|
|
||||||
if (noretry_error(error))
|
if (noretry_error(error))
|
||||||
|
|
Loading…
Reference in a new issue