/* This routine marks a HBA's management interface as blocked. Once the HBA's management interface is marked as blocked, all the user space access to the HBA, whether they are from sysfs interface or libdfc interface will all be blocked. The HBA is set to block the management interface when the driver prepares the HBA interface for online or offline.  */
static void lpfc_block_mgmt_io(struct lpfc_hba *phba)
/* This routine marks a HBA's management interface as blocked. Once the HBA's management interface is marked as blocked, all the user space access to the HBA, whether they are from sysfs interface or libdfc interface will all be blocked. The HBA is set to block the management interface when the driver prepares the HBA interface for online or offline.  */
static void lpfc_block_mgmt_io(struct lpfc_hba *phba)
{
	unsigned long iflag;
	spin_lock_irqsave(&phba->hbalock, iflag);
	phba->sli.sli_flag |= LPFC_BLOCK_MGMT_IO;
	spin_unlock_irqrestore(&phba->hbalock, iflag);
}