[SCSI] sym2: Fix build when spinlock debugging is enabled
authorMatthew Wilcox <matthew@wil.cx>
Wed, 29 Mar 2006 21:45:18 +0000 (14:45 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 15:13:30 +0000 (10:13 -0500)
commitd637c4543fdc86cbef5805c679d24bb665172a7d
tree45ed36215b8e2623e75d02ab76ff2e50a3e937a0
parent80286d478c2b0e07959e79cf34591a4061ff1797
[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 <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_glue.c