diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2005-08-22 17:06:19 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-08-31 05:44:20 +0200 |
commit | 53c165e0a6c8a4ff7df316557528fa7a52d20711 (patch) | |
tree | 354c599a07c45c71da2b848a90bbe4a98c42d333 /drivers/scsi/53c7xx_d.h_shipped | |
parent | [SCSI] sr.c: Fix getting wrong size (diff) | |
download | linux-53c165e0a6c8a4ff7df316557528fa7a52d20711.tar.xz linux-53c165e0a6c8a4ff7df316557528fa7a52d20711.zip |
[SCSI] correct attribute_container list usage
One of the changes in the attribute_container code in the scsi-misc tree
was to add a lock to protect the list of devices per container. This,
unfortunately, leads to potential scheduling while atomic problems if
there's a sleep in the function called by a trigger.
The correct solution is to use the kernel klist infrastructure instead
which allows lockless traversal of a list.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/53c7xx_d.h_shipped')
0 files changed, 0 insertions, 0 deletions