]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:45:23 +0000 (03:45 -0400)
commitb9c75896696e360e471c7b8aba02ea0d866544a4
tree4cc70af4c811c43409d90d568073c72c593cec60
parent43f9b541715c90c9fb158f6becdfd6ddd96c30fb
scsi: zfcp: spin_lock_irqsave() is not nestable

commit e7cb08e894a0b876443ef8fdb0706575dc00a5d2 upstream.

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: aceeffbb59bb ("zfcp: trace full payload of all SAN records (req,resp,iels)")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/scsi/zfcp_dbf.c