Commit 980d3aeb authored by Dan Williams's avatar Dan Williams
Browse files

isci: fix isci_terminate_pending() list management



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: default avatarDan Williams <dan.j.williams@intel.com>
parent 77c852f3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment