IB/srp: don't move active requests to their own list
authorBart Van Assche <bvanassche@acm.org>
Fri, 26 Nov 2010 18:58:27 +0000 (13:58 -0500)
committerDavid Dillow <dillowda@ornl.gov>
Mon, 10 Jan 2011 20:44:42 +0000 (15:44 -0500)
We use req->scmnd != NULL to indicate an active request, so there's no
need to keep a separate list for them. We can afford the array iteration
during error handling, and dropping it gives us one less item that needs
lock protection.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[ broken out and small cleanups by David Dillow ]
Signed-off-by: David Dillow <dillowda@ornl.gov>

No differences found