diff options
author | Tomas Henzl <thenzl@redhat.com> | 2024-09-23 19:48:33 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-11-20 21:53:43 -0500 |
commit | 50740f4dc78b41dec7c8e39772619d5ba841ddd7 (patch) | |
tree | 2f049453652f928053e7c886567ed2296ae7d0fb /scripts/recordmcount.h | |
parent | 2c354d12307e58a748ade2802b4d26fd0d8c34a9 (diff) |
scsi: megaraid_sas: Fix for a potential deadlock
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>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions