scsi: hpsa: update check for logical volume status
authorDon Brace <don.brace@microsemi.com>
Fri, 10 Mar 2017 20:35:11 +0000 (14:35 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Dec 2017 09:07:22 +0000 (10:07 +0100)
commitc81410a4353d45766564ba6af9a067d33d1525d7
tree7a0c0434c5791123d35295df988dd560f013a1a4
parent8652baa5a31d9f65f93464d27d9a330e3dee6191
scsi: hpsa: update check for logical volume status

[ Upstream commit 85b29008d8af6d94a0723aaa8d93cfb6e041158b ]

 - Add in a new case for volume offline. Resolves internal testing bug
   for multilun array management.
 - Return correct status for failed TURs.

Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/hpsa.c
drivers/scsi/hpsa_cmd.h