From: Dan Williams Date: Mon, 20 Jun 2011 22:11:22 +0000 (-0700) Subject: isci: fix isci_terminate_pending() list management X-Git-Tag: v3.0-rc6~1^2~1^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=980d3aeb3828b0fdf2a0b2e893d238130b014575;p=pandora-kernel.git 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 --- Reading git-diff-tree failed