diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-03-29 14:45:18 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-13 10:13:30 -0500 |
commit | d637c4543fdc86cbef5805c679d24bb665172a7d (patch) | |
tree | 45ed36215b8e2623e75d02ab76ff2e50a3e937a0 /drivers/scsi/scsi_scan.c | |
parent | 80286d478c2b0e07959e79cf34591a4061ff1797 (diff) | |
download | op-kernel-dev-d637c4543fdc86cbef5805c679d24bb665172a7d.zip op-kernel-dev-d637c4543fdc86cbef5805c679d24bb665172a7d.tar.gz |
[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>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
0 files changed, 0 insertions, 0 deletions