/* Return value: ibmvfc_target struct / NULL if not found  */
static struct ibmvfc_target* ibmvfc_get_target(struct scsi_target *starget)
/* Return value: ibmvfc_target struct / NULL if not found  */
static struct ibmvfc_target* ibmvfc_get_target(struct scsi_target *starget)
{
	struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
	struct ibmvfc_target *tgt;
	unsigned long flags;
	spin_lock_irqsave(shost->host_lock, flags);
	tgt = __ibmvfc_get_target(starget);
	spin_unlock_irqrestore(shost->host_lock, flags);
	return tgt;
}