diff options
| author | Tomas Henzl <thenzl@redhat.com> | 2024-09-23 19:48:33 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-02 10:34:17 +0100 |
| commit | 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8 (patch) | |
| tree | 3ed58a3f332ec2fe9aeb9c347f8a407e90d62811 /scripts/basic | |
| parent | 65289f50c18db50848407b38f16119f57f8950d2 (diff) | |
| download | linux-466ca39dbf5d0ba71c16b15c27478a9c7d4022a8.tar.gz linux-466ca39dbf5d0ba71c16b15c27478a9c7d4022a8.tar.bz2 linux-466ca39dbf5d0ba71c16b15c27478a9c7d4022a8.zip | |
scsi: megaraid_sas: Fix for a potential deadlock
[ Upstream commit 50740f4dc78b41dec7c8e39772619d5ba841ddd7 ]
This fixes a 'possible circular locking dependency detected' warning
CPU0 CPU1
---- ----
lock(&instance->reset_mutex);
lock(&shost->scan_mutex);
lock(&instance->reset_mutex);
lock(&shost->scan_mutex);
Fix this by temporarily releasing the reset_mutex.
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20240923174833.45345-1-thenzl@redhat.com
Acked-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
