mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 06:16:36 +07:00
fusion: mptsas, fix lock imbalance
Fix two typos in mptsas_not_responding_devices. It was mutex_lock instead of unlock. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: "Desai, Kashyap" <Kashyap.Desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
3c559ea8fd
commit
129dd98194
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user