mptsas_handle_topo_change() can return without locks held
The expectation of the
mptsas_handle_topo_change() function is that it should always end up always returning with the
mpt->m_mutex held, this is partly why it asserts that it has it. In addition, the calling function does a
mutex_exit() a few lines later. The reality is that whenever this function returns, we need to make sure that we're entered the mutex.
Updated by Electric Monk over 2 years ago
- Status changed from New to Closed
commit 8221efec02725289918c06a850adcd7393394c8b Author: Robert Mustacchi <email@example.com> Date: 2017-07-12T20:40:13.000Z 8346 SES topology information needs to search STP Bridge ports 8347 mpt_sas needs to set bridge-port property for SATA devices 8348 mptsas_handle_topo_change() can return without locks held Reviewed by: Joshua M. Clulow <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>