https://github.com/torvalds/linux
Revision 5159d763f60af693a3fcec45dce2021f66e528a4 authored by Nicholas Bellinger on 03 February 2014, 20:53:51 UTC, committed by Nicholas Bellinger on 05 March 2014, 01:54:09 UTC
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>
1 parent a2a99ce
History
Tip revision: 5159d763f60af693a3fcec45dce2021f66e528a4 authored by Nicholas Bellinger on 03 February 2014, 20:53:51 UTC
iscsi/iser-target: Use list_del_init for ->i_conn_node
Tip revision: 5159d76
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 266.4 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top