diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-02-03 12:53:51 -0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-03-04 17:54:09 -0800 |
commit | 5159d763f60af693a3fcec45dce2021f66e528a4 (patch) | |
tree | 9781d7b62561338f36bbd1bcc0ec093fa343a041 /include | |
parent | a2a99cea5ec7c1e47825559f0e75a4efbcf8aee3 (diff) |
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