]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: zfcp: spin_lock_irqsave() is not nestable
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 14 Oct 2016 20:18:39 +0000 (16:18 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 14 Oct 2016 20:21:08 +0000 (16:21 -0400)
commiteddd44c79cc65936ff7ed99e04a13a352c052326
tree0711af3a758c18e8fa94fe4ab9945d8841f5d680
parente66390897de08758806c65a1311ed6421b0c6f99
scsi: zfcp: spin_lock_irqsave() is not nestable

We accidentally overwrite the original saved value of "flags" so that we
can't re-enable IRQs at the end of the function.  Presumably this
function is mostly called with IRQs disabled or it would be obvious in
testing.

Fixes: 0375b99ba9f9 ("zfcp: trace full payload of all SAN records (req,resp,iels)")
Cc: <stable@vger.kernel.org> #2.6.38+
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_dbf.c