]> git.baikalelectronics.ru Git - kernel.git/commit
target: Fix wrong se_tmr being added to drain_tmr_list
authorJoern Engel <joern@logfs.org>
Wed, 26 Oct 2011 20:37:56 +0000 (13:37 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 27 Oct 2011 01:00:21 +0000 (01:00 +0000)
commitb360ab6bc6f76074e23828e1742a038217af13d6
tree4c2c2a1c7da25bbc176e7b38faaf5792f6176886
parent1cc2bb85e40fb92858d1950a350ad3847db2c9db
target: Fix wrong se_tmr being added to drain_tmr_list

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>
Cc: stable@kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_tmr.c