projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0af413
)
dm mpath: don't check for req->errors
author
Christoph Hellwig
<hch@lst.de>
Thu, 20 Apr 2017 14:03:05 +0000
(16:03 +0200)
committer
Jens Axboe
<axboe@fb.com>
Thu, 20 Apr 2017 18:16:10 +0000
(12:16 -0600)
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>
drivers/md/dm-mpath.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-mpath.c
b/drivers/md/dm-mpath.c
index ab55955ed704904d7cdabfd2fd06e8762fe6474b..2950b145443d7e1c26f9831490406869f6ed2323 100644
(file)
--- 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))