https://github.com/torvalds/linux
Revision 980d3aeb3828b0fdf2a0b2e893d238130b014575 authored by Dan Williams on 20 June 2011, 22:11:22 UTC, committed by Dan Williams on 03 July 2011, 11:04:50 UTC
Walk through the list of pending requests being careful to consider that
multiple requests can be terminated when the lock is dropped (i.e.
invalidating the 'next' reference established by
list_for_each_entry_safe).

Also noticed that all callers to isci_terminate_pending_requests()
specifying terminating, so just drop the parameter.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 77c852f
History
Tip revision: 980d3aeb3828b0fdf2a0b2e893d238130b014575 authored by Dan Williams on 20 June 2011, 22:11:22 UTC
isci: fix isci_terminate_pending() list management
Tip revision: 980d3ae
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-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.9 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 189.8 KB
Makefile -rw-r--r-- 52.6 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top