diff options
author | Matthew Wilcox <matthew@wil.cx> | 2006-03-29 16:45:18 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-13 11:13:30 -0400 |
commit | d637c4543fdc86cbef5805c679d24bb665172a7d (patch) | |
tree | 45ed36215b8e2623e75d02ab76ff2e50a3e937a0 /kernel/resource.c | |
parent | 80286d478c2b0e07959e79cf34591a4061ff1797 (diff) |
[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 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions