]> git.karo-electronics.de Git - linux-beck.git/commit
target: Fix incorrect se_cmd assignment in core_tmr_drain_tmr_list
authorJoern Engel <joern@logfs.org>
Wed, 26 Oct 2011 05:08:43 +0000 (22:08 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 27 Oct 2011 01:00:11 +0000 (01:00 +0000)
commit80ccbc8e00f7001d79dd503c2781487906b98611
tree156726945115c87aa7f95f4c09f3ae53ceced6cc
parentf147abb475ab47ce620cf3d18de5b3192c9fa7ed
target: Fix incorrect se_cmd assignment in core_tmr_drain_tmr_list

This patch fixes a bug in core_tmr_drain_tmr_list() where drain_tmr_list
was using the wrong se_tmr_req for cmd assignment due to a typo during the
LUN_RESET re-org.  This was resulting in general protection faults while
using the leftover bogus *tmr_p pointer from list_for_each_entry_safe().

Signed-off-by: Joern Engel <joern@logfs.org>
Cc: Joern Engel <joern@logfs.org>
Cc: stable@kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_tmr.c