scsi: aacraid: Merge func to get container information
Merge aac_get_containers to setup target function, so that information about all the present devices can be retrieved in one shot. Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Tento commit je obsažen v:

odevzdal
Martin K. Petersen

rodič
0bcb45fb20
revize
1d1fec53dc
@@ -2021,6 +2021,10 @@ static int aac_setup_safw_targets(struct aac_dev *dev, int rescan)
|
||||
{
|
||||
int rcode = 0;
|
||||
|
||||
rcode = aac_get_containers(dev);
|
||||
if (unlikely(rcode < 0))
|
||||
goto out;
|
||||
|
||||
rcode = aac_get_safw_ciss_luns(dev, rescan);
|
||||
if (unlikely(rcode < 0))
|
||||
goto out;
|
||||
|
Odkázat v novém úkolu
Zablokovat Uživatele