From: Bart Van Assche Date: Fri, 26 Nov 2010 18:58:27 +0000 (-0500) Subject: IB/srp: don't move active requests to their own list X-Git-Tag: v2.6.38-rc1~406^2^8~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=536ae14e7588e85203d4b4147c041309be5b3efb;p=pandora-kernel.git 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 [ broken out and small cleanups by David Dillow ] Signed-off-by: David Dillow --- Reading git-diff-tree failed