/* Locking Note: This function expects that the disc mutex is already locked.  */
static void fc_disc_restart(struct fc_disc *)
/* Locking Note: This function expects that the disc mutex is already locked.  */
static void fc_disc_restart(struct fc_disc *)
{
	if (!disc->disc_callback)
		return;
	FC_DISC_DBG(disc, "Restarting discovery\n");
	disc->requested = 1;
	if (disc->pending)
		return;
	disc->disc_id = (disc->disc_id + 2) | 1;
	disc->retry_count = 0;
	fc_disc_gpn_ft_req(disc);
}