Browse Source

megaraid_sas: Add missing initial call to megasas_get_ld_vf_affiliation().

The following patch for megaraid_sas adds a missing initial call to
megasas_get_ld_vf_affiliation() at the end of megasas_probe_one().

Signed-off-by: Adam Radford <aradford@gmail.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Adam Radford 11 years ago
parent
commit
9ea81f8169
1 changed files with 4 additions and 0 deletions
  1. 4 0
      drivers/scsi/megaraid/megaraid_sas_base.c

+ 4 - 0
drivers/scsi/megaraid/megaraid_sas_base.c

@@ -4984,6 +4984,10 @@ retry_irq_register:
 		goto fail_start_aen;
 	}
 
+	/* Get current SR-IOV LD/VF affiliation */
+	if (instance->requestorId)
+		megasas_get_ld_vf_affiliation(instance, 1);
+
 	return 0;
 
       fail_start_aen: