From: Christof Schmitt Date: Fri, 19 Dec 2008 15:56:54 +0000 (+0100) Subject: [SCSI] zfcp: Simplify SBAL allocation to fix sparse warnings X-Git-Tag: v2.6.29-rc1~555^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dedbc2b3cb8404c618975bd2811c7605a4ccb51e;p=pandora-kernel.git [SCSI] zfcp: Simplify SBAL allocation to fix sparse warnings When waiting for a request claim the SBAL before waiting. This way, locking before each check of the free counter is not required and sparse does not emit warnings for the complicated locking scheme. Signed-off-by: Christof Schmitt Acked-by: Felix Beck Signed-off-by: James Bottomley --- Reading git-diff-tree failed