commit | 536ae14e7588e85203d4b4147c041309be5b3efb | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Fri Nov 26 13:58:27 2010 -0500 |
committer | David Dillow <dillowda@ornl.gov> | Mon Jan 10 15:44:42 2011 -0500 |
tree | 9a7e459a914e138d0b02487c7ab40ae9ffe6c05c | |
parent | dcb4cb85f4b7caac9769bce464fef16306a4758c [diff] |
IB/srp: don't move active requests to their own list 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>