t; Cc: Alexey Khoroshilov; linux-scsi@vger.kernel.org; Nandigama,
> Nagalakshmi; Reddy, Sreekanth; linux-ker...@vger.kernel.org; ldv-
> proj...@ispras.ru
> Subject: [PATCH v2] [SCSI] mpt2sas: fix double mutex lock in
> NON_BLOCKING state
>
> If state is NON_BLOCKING and mutex_try
If state is NON_BLOCKING and mutex_trylock is succeed,
the control flow goes to mutex_lock_interruptible() that is a deadlock.
The previous version of the patch becomes obsolete after
code movement in commit 913809f6.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by:
2 matches
Mail list logo