target: Fix wrong se_tmr being added to drain_tmr_list
commit8981e86717bf2d682bf08db846d7daafd9fb6a45
authorJoern Engel <joern@logfs.org>
Wed, 26 Oct 2011 20:37:56 +0000 (26 13:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:44:38 +0000 (11 09:44 -0800)
treef032c8f22d165452eef80bb63ed568be7e1d8b24
parenta1dc5b0de6f3083000c3b990dc319dd842ad7420
target: Fix wrong se_tmr being added to drain_tmr_list

commit 6eb40b2af4908e9aee71e43e7a384243128c56dd upstream.

This patch fixes another bug from LUN_RESET re-org fallout in
core_tmr_drain_tmr_list() that was adding the wrong se_tmr_req
into the local drain_tmr_list to be walked + released.

Signed-off-by: Joern Engel <joern@logfs.org>
Cc: Joern Engel <joern@logfs.org>
Reviewed-by: Roland Dreier <roland@purestorage.com>
Cc: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/target/target_core_tmr.c