From: Alexey Khoroshilov Date: Tue, 28 Aug 2012 14:38:02 +0000 (+0400) Subject: [SCSI] mpt2sas: fix double mutex lock in NON_BLOCKING state X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b656688a90175d4c424a2f02264863ede7e82d7b;p=pandora-kernel.git [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 Acked-by: "Sreekanth Reddy" Signed-off-by: James Bottomley --- Reading git-diff-tree failed