commit | 980d3aeb3828b0fdf2a0b2e893d238130b014575 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Mon Jun 20 15:11:22 2011 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Sun Jul 03 04:04:50 2011 -0700 |
tree | 76fcb476d6cb9ab4d8307ec7ff4dcfffbf1d296f | |
parent | 77c852f312243192b1f2ce7fc56d678784786692 [diff] |
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: Dan Williams <dan.j.williams@intel.com>