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:59:56 +0000 (08:59 -0800)
commit35b6bae1a0958e22a8d8feddd9512934f2503f4c
treeeae6c39402c9f6dad66471634bd0c5fcbf838805
parent8f8ebc589e951f66cc2565529598839458ae4b13
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