summaryrefslogtreecommitdiffstats
path: root/mm/zpool.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2017-08-26 00:18:03 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-26 00:23:34 +0200
commit1a9e394154e34728f58c1f697b993aaaf89a4db2 (patch)
treeb2df6f5402857384d239733478641e32d0333642 /mm/zpool.c
parentscsi: cxlflash: Remove unnecessary existence check (diff)
downloadlinux-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 'mm/zpool.c')
0 files changed, 0 insertions, 0 deletions