Skip to content

Commit

Permalink
dm mpath: don't check for req->errors
Browse files Browse the repository at this point in the history
We'll get all proper errors reported through ->end_io and ->errors will
go away soon.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
Christoph Hellwig authored and axboe committed Apr 20, 2017
1 parent e0af413 commit 8fc7798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/dm-mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 8fc7798

Please sign in to comment.