提交 129dd981 编写于 作者: J Jiri Slaby 提交者: James Bottomley

fusion: mptsas, fix lock imbalance

Fix two typos in mptsas_not_responding_devices. It was mutex_lock instead
of unlock.
Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
Acked-by: N"Desai, Kashyap" <Kashyap.Desai@lsi.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 3c559ea8
......@@ -3518,7 +3518,7 @@ mptsas_not_responding_devices(MPT_ADAPTER *ioc)
} else
mptsas_volume_delete(ioc, sas_info->fw.id);
}
mutex_lock(&ioc->sas_device_info_mutex);
mutex_unlock(&ioc->sas_device_info_mutex);
/* expanders */
mutex_lock(&ioc->sas_topology_mutex);
......@@ -3549,7 +3549,7 @@ mptsas_not_responding_devices(MPT_ADAPTER *ioc)
goto redo_expander_scan;
}
}
mutex_lock(&ioc->sas_topology_mutex);
mutex_unlock(&ioc->sas_topology_mutex);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册