From: Dan Williams Date: Mon, 9 Jan 2012 18:12:52 +0000 (-0800) Subject: [SCSI] libsas: pre-clean commands that won the eh vs completion race X-Git-Tag: v3.4-rc1~145^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c73b65194173e77030d5b95abe5b63a402d268;p=pandora-kernel.git [SCSI] libsas: pre-clean commands that won the eh vs completion race When scrolling forward through the eh list (in a clear_q scenario) it is possible to encounter commands that won the completion vs eh race. Rather than sprinkle more "if (!task)" throughout the handler just make a pass through the list and delete the race winners before handling the rest. Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- Reading git-diff-tree failed