Commit eb94588d authored by Tomas Henzl's avatar Tomas Henzl Committed by Martin K. Petersen

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: 85b29008 (hpsa: update check for logical volume status)
Signed-off-by: default avatarTomas Henzl <thenzl@redhat.com>
Acked-by: default avatarDon Brace <don.brace@microsemi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 9702c67c
...@@ -3885,6 +3885,7 @@ static int hpsa_update_device_info(struct ctlr_info *h, ...@@ -3885,6 +3885,7 @@ static int hpsa_update_device_info(struct ctlr_info *h,
if (h->fw_support & MISC_FW_RAID_OFFLOAD_BASIC) if (h->fw_support & MISC_FW_RAID_OFFLOAD_BASIC)
hpsa_get_ioaccel_status(h, scsi3addr, this_device); hpsa_get_ioaccel_status(h, scsi3addr, this_device);
volume_offline = hpsa_volume_offline(h, scsi3addr); volume_offline = hpsa_volume_offline(h, scsi3addr);
this_device->volume_offline = volume_offline;
if (volume_offline == HPSA_LV_FAILED) { if (volume_offline == HPSA_LV_FAILED) {
rc = HPSA_LV_FAILED; rc = HPSA_LV_FAILED;
dev_err(&h->pdev->dev, dev_err(&h->pdev->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment