• Dan Williams's avatar
    isci: fix isci_terminate_pending() list management · 980d3aeb
    Dan Williams authored
    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>
    980d3aeb
remote_device.c 48.7 KB