diff options
author | Matthew R. Ochs <mrochs@linux.vnet.ibm.com> | 2017-08-26 01:18:03 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-26 01:23:34 +0300 |
commit | 1a9e394154e34728f58c1f697b993aaaf89a4db2 (patch) | |
tree | b2df6f5402857384d239733478641e32d0333642 /drivers/scsi/cxlflash/vlun.c | |
parent | 48a17ad5931c3832eec68411620bc3527021c193 (diff) | |
download | linux-1a9e394154e34728f58c1f697b993aaaf89a4db2.tar.xz |
scsi: cxlflash: Avoid double mutex unlock
The AFU recovery routine uses an interruptible mutex to control the flow
of in-flight recoveries. Upon receiving an interruptible signal the code
branches to a common exit path which wrongly assumes the mutex is
held. Add a local variable to track when the mutex should be unlocked.
Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxlflash/vlun.c')
0 files changed, 0 insertions, 0 deletions