diff options
author | Matthew R. Ochs <mrochs@linux.vnet.ibm.com> | 2017-08-26 00:18:03 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-26 00:23:34 +0200 |
commit | 1a9e394154e34728f58c1f697b993aaaf89a4db2 (patch) | |
tree | b2df6f5402857384d239733478641e32d0333642 /fs/qnx6 | |
parent | scsi: cxlflash: Remove unnecessary existence check (diff) | |
download | linux-1a9e394154e34728f58c1f697b993aaaf89a4db2.tar.xz linux-1a9e394154e34728f58c1f697b993aaaf89a4db2.zip |
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 '')
0 files changed, 0 insertions, 0 deletions