qla_target: don't delete changed nacls
authorJoern Engel <joern@logfs.org>
Fri, 3 Oct 2014 21:35:56 +0000 (14:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 16:47:57 +0000 (08:47 -0800)
commite80395d5cdc7c193ac7cc7faff8b7bf313b9164f
tree5a4940f0cbae07034a72962c22f81682dff281cf
parent73213e6c423392a828cab912ddbd986b454283e2
qla_target: don't delete changed nacls

commit f4c24db1b7ad0ce84409e15744d26c6f86a96840 upstream.

The code is currently riddled with "drop the hardware_lock to avoid a
deadlock" bugs that expose races.  One of those races seems to expose a
valid warning in tcm_qla2xxx_clear_nacl_from_fcport_map.  Add some
bandaid to it.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c