Commit ef8a5203 authored by Don Brace's avatar Don Brace Committed by Martin K. Petersen
Browse files

scsi: hpsa: do not reset enclosures

parent 8516a2db
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5853,6 +5853,9 @@ static int hpsa_eh_device_reset_handler(struct scsi_cmnd *scsicmd)
		return FAILED;
	}

	if (dev->devtype == TYPE_ENCLOSURE)
		return SUCCESS;

	/* if controller locked up, we can guarantee command won't complete */
	if (lockup_detected(h)) {
		snprintf(msg, sizeof(msg),