]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
qla_target: don't delete changed nacls
authorJoern Engel <joern@logfs.org>
Fri, 3 Oct 2014 21:35:56 +0000 (14:35 -0700)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:30 +0000 (19:02 +0100)
commit769e28594544e6662fdbe69086b8162e04b8cf86
tree8caab27fe563bf1c03f6486d7cff398c8a4291e2
parent1e3b42efefd201e167bef3429ac7c90a9c3d534b
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: Jiri Slaby <jslaby@suse.cz>
drivers/scsi/qla2xxx/tcm_qla2xxx.c