qla_target: don't delete changed nacls
authorJoern Engel <joern@logfs.org>
Fri, 3 Oct 2014 21:35:56 +0000 (14:35 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 3 Oct 2014 21:35:56 +0000 (14:35 -0700)
commitf4c24db1b7ad0ce84409e15744d26c6f86a96840
tree472122df7a7e6257823d757301cb5bc5667d1f2f
parentf56574a2b554492703030e3d3b9679c9a07a5d69
qla_target: don't delete changed nacls

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>
Cc: <stable@vger.kernel.org> # v3.5+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/tcm_qla2xxx.c