/* Note: no_uld_attach flag determines whether the disk device is attached to block layer. A value of  */
static void _scsih_reprobe_target(struct scsi_target *starget, int no_uld_attach)
/* Note: no_uld_attach flag determines whether the disk device is attached to block layer. A value of  */
static void _scsih_reprobe_target(struct scsi_target *starget, int no_uld_attach)
{
	struct MPT2SAS_TARGET *sas_target_priv_data = starget->hostdata;
	if (no_uld_attach)
		sas_target_priv_data->flags |= MPT_TARGET_FLAGS_RAID_COMPONENT;
	else
		sas_target_priv_data->flags &= ~MPT_TARGET_FLAGS_RAID_COMPONENT;
	starget_for_each_device(starget, no_uld_attach ? (void *)1 : NULL,
	    _scsih_reprobe_lun);
}