From: Matthew Wilcox Date: Wed, 29 Mar 2006 21:45:18 +0000 (-0700) Subject: [SCSI] sym2: Fix build when spinlock debugging is enabled X-Git-Tag: v2.6.17-rc2~30^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d637c4543fdc86cbef5805c679d24bb665172a7d;p=pandora-kernel.git [SCSI] sym2: Fix build when spinlock debugging is enabled When spinlock debugging is turned on, a struct completion grows beyond the size allowed for the scsi_pointer. So move the struct completion back onto the stack. The additional memory barriers are to keep us from completing a random piece of kernel stack if the command happens to complete after the error handling has finished. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley --- Reading git-diff-tree failed