summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2017-03-20 16:42:48 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-23 10:12:29 -0400
commiteb94588dabec82e012281608949a860f64752914 (patch)
tree96648bf44611bdafc0baa1e893f78bc4002a8068 /drivers
parent9702c67c6066f583b629cf037d2056245bb7a8e6 (diff)
downloadlinux-stable-eb94588dabec82e012281608949a860f64752914.tar.gz
linux-stable-eb94588dabec82e012281608949a860f64752914.tar.bz2
linux-stable-eb94588dabec82e012281608949a860f64752914.zip
scsi: hpsa: fix volume offline state
In a previous patch a hpsa_scsi_dev_t.volume_offline update line has been removed, so let us put it back.. Fixes: 85b29008d8 (hpsa: update check for logical volume status) Signed-off-by: Tomas Henzl <thenzl@redhat.com> Acked-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/hpsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 0d0be7754a65..9d659aaace15 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3885,6 +3885,7 @@ static int hpsa_update_device_info(struct ctlr_info *h,
if (h->fw_support & MISC_FW_RAID_OFFLOAD_BASIC)
hpsa_get_ioaccel_status(h, scsi3addr, this_device);
volume_offline = hpsa_volume_offline(h, scsi3addr);
+ this_device->volume_offline = volume_offline;
if (volume_offline == HPSA_LV_FAILED) {
rc = HPSA_LV_FAILED;
dev_err(&h->pdev->dev,