summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-02-03 21:53:51 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2014-03-05 02:54:09 +0100
commit5159d763f60af693a3fcec45dce2021f66e528a4 (patch)
tree9781d7b62561338f36bbd1bcc0ec093fa343a041 /include
parentiscsi-target: Fix iscsit_get_tpg_from_np tpg_state bug (diff)
downloadlinux-5159d763f60af693a3fcec45dce2021f66e528a4.tar.xz
linux-5159d763f60af693a3fcec45dce2021f66e528a4.zip
iscsi/iser-target: Use list_del_init for ->i_conn_node
There are a handful of uses of list_empty() for cmd->i_conn_node within iser-target code that expect to return false once a cmd has been removed from the per connect list. This patch changes all uses of list_del -> list_del_init in order to ensure that list_empty() returns false as expected. Acked-by: Sagi Grimberg <sagig@mellanox.com> Cc: Or Gerlitz <ogerlitz@mellanox.com> Cc: <stable@vger.kernel.org> #3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions