diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-08-28 14:38:02 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 08:10:59 (GMT) |
commit | b656688a90175d4c424a2f02264863ede7e82d7b (patch) | |
tree | d34e03ab53c0f226f98bffa5a392839c09a0d598 /drivers/scsi/sd.h | |
parent | f2b0599de5450e11bc41be2432a161f86d816ae3 (diff) | |
download | linux-fsl-qoriq-b656688a90175d4c424a2f02264863ede7e82d7b.tar.xz |
[SCSI] mpt2sas: fix double mutex lock in NON_BLOCKING state
If state is NON_BLOCKING and mutex_trylock is succeed,
the control flow goes to mutex_lock_interruptible() that is a deadlock.
[jejb: fixed coding style problems]
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: "Sreekanth Reddy" <sreekanth.reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sd.h')
0 files changed, 0 insertions, 0 deletions