From: Christof Schmitt Date: Mon, 19 May 2008 10:17:47 +0000 (+0200) Subject: [SCSI] zfcp: Fix sparse warning by providing new entry in dbf X-Git-Tag: v2.6.27-rc1~1059^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa0fec62391cd429385e7f3f9fc4a1fb8e2d1218;p=pandora-kernel.git [SCSI] zfcp: Fix sparse warning by providing new entry in dbf drivers/s390/scsi/zfcp_dbf.c:692:2: warning: context imbalance in 'zfcp_rec_dbf_event_thread' - different lock contexts for basic block Replace the parameter indicating if the lock is held with a new entry function that only acquires the lock. This makes the lock handling more visible and removes the sparse warning. Signed-off-by: Christof Schmitt Signed-off-by: Martin Peschke Signed-off-by: James Bottomley --- Reading git-diff-tree failed