<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Invoke generic scsi error decoder if no alternative handler was
specified.

This is safe as dm_scsi_err_handler() will only act on SCSI errors
with valid sense data.

Signed-Off-By: Alasdair G Kergon &lt;agk@redhat.com&gt;
Signed-off-by: Lars Marowsky-Bree &lt;lmb@suse.de&gt;
Index: linux-2.6.16-rc1/drivers/md/dm-mpath.c
===================================================================
--- linux-2.6.16-rc1.orig/drivers/md/dm-mpath.c	2006-02-22 20:41:05.000000000 +0000
+++ linux-2.6.16-rc1/drivers/md/dm-mpath.c	2006-02-22 20:44:58.000000000 +0000
@@ -1025,6 +1025,8 @@ static int do_end_io(struct multipath *m
 
 	if (hwh-&gt;type &amp;&amp; hwh-&gt;type-&gt;error)
 		err_flags = hwh-&gt;type-&gt;error(hwh, bio);
+	else
+		err_flags = dm_scsi_err_handler(hwh, bio);
 
 	if (mpio-&gt;pgpath) {
 		if (err_flags &amp; MP_FAIL_PATH)
</pre></body></html>