summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/remote_node_context.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2011-06-20 22:11:22 (GMT)
committerDan Williams <dan.j.williams@intel.com>2011-07-03 11:04:50 (GMT)
commit980d3aeb3828b0fdf2a0b2e893d238130b014575 (patch)
tree76fcb476d6cb9ab4d8307ec7ff4dcfffbf1d296f /drivers/scsi/isci/remote_node_context.c
parent77c852f312243192b1f2ce7fc56d678784786692 (diff)
downloadlinux-fsl-qoriq-980d3aeb3828b0fdf2a0b2e893d238130b014575.tar.xz
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>
Diffstat (limited to 'drivers/scsi/isci/remote_node_context.c')
0 files changed, 0 insertions, 0 deletions