9dc7b3
centosplus kernel patch [bug#15801]
9dc7b3
9dc7b3
This patch was centos-linux-3.10-smartpqi-bug15801.patch in CentOS 7.
9dc7b3
9dc7b3
9dc7b3
--- a/drivers/scsi/smartpqi/smartpqi_init.c	2019-03-13 04:04:53.000000000 -0700
9dc7b3
+++ b/drivers/scsi/smartpqi/smartpqi_init.c	2019-06-29 11:53:00.400314895 -0700
9dc7b3
@@ -2720,6 +2720,9 @@ static unsigned int pqi_process_io_intr(
9dc7b3
 		switch (response->header.iu_type) {
9dc7b3
 		case PQI_RESPONSE_IU_RAID_PATH_IO_SUCCESS:
9dc7b3
 		case PQI_RESPONSE_IU_AIO_PATH_IO_SUCCESS:
9dc7b3
+			if (io_request->scmd)
9dc7b3
+			    io_request->scmd->result = 0;
9dc7b3
+			/* fall through */
9dc7b3
 		case PQI_RESPONSE_IU_GENERAL_MANAGEMENT:
9dc7b3
 			break;
9dc7b3
 		case PQI_RESPONSE_IU_TASK_MANAGEMENT: