mpt fusion: [2.6.30-rc6] hotplug event MPTSAS_DEL_DEVICE fix
Subsystems (2)
PATCH 24/24 mpt fusion: [2.6.30-rc6] hotplug event MPTSAS_DEL_DEVICE fix
This is a fix for hotplug remove event.
Added code which will remove device on receiving MPTSAS_DEL_DEVICE event.
---
Signed-off-by Kashyap Desai <[email protected]>
---
drivers/message/fusion/mptsas.c +3 -0
@@ -4028,6 +4028,9 @@ mptsas_hotplug_work(MPT_ADAPTER *ioc, struct fw_event_work *fw_event,break ;case MPTSAS_DEL_DEVICE : + phy_info =mptsas_find_phyinfo_by_sas_address (ioc, + hot_plug_info->sas_address); +mptsas_del_end_device (ioc, phy_info);break ;case MPTSAS_DEL_PHYSDISK :