aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2007-10-02 21:55:25 -0400
committerJames Bottomley <[email protected]>2007-10-12 14:53:02 -0400
commit05848b6e66ee237c4496c2b49821d2622b0f677e (patch)
tree49055abae9e9387934be0734aa8ff3eb3ee4664d /include/linux/timerqueue.h
parent41d2493d3478942f891b21dff60951ff939c08d9 (diff)
[SCSI] advansys: Fix simultaneous calls to ->queuecommand
The narrow board used two global structures to set up a command; unfortunately they weren't locked, so with two boards in the machine, one call to queuecommand could corrupt the data being used by the other call to queuecommand. Fix this by allocating asc_scsi_q on the stack (64 bytes) and using kmalloc for the asc_sg_head (2k) Signed-off-by: Matthew Wilcox <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions