diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-08-28 18:38:02 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 12:10:59 +0400 |
commit | b656688a90175d4c424a2f02264863ede7e82d7b (patch) | |
tree | d34e03ab53c0f226f98bffa5a392839c09a0d598 /drivers/scsi/sd_dif.c | |
parent | f2b0599de5450e11bc41be2432a161f86d816ae3 (diff) |
[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_dif.c')
0 files changed, 0 insertions, 0 deletions