summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_sysfs.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-02-23 18:43:43 (GMT)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-02-28 05:34:40 (GMT)
commit1fa44ecad2b86475e038aed81b0bf333fa484f8b (patch)
tree62e9e9aac0aaf64e6f8e69809d8ab513e22346a1 /drivers/scsi/scsi_sysfs.c
parentba3af0aff042caa1f41b5f7164cab37c717b8811 (diff)
downloadlinux-fsl-qoriq-1fa44ecad2b86475e038aed81b0bf333fa484f8b.tar.xz
[SCSI] add execute_in_process_context() API
We have several points in the SCSI stack (primarily for our device functions) where we need to guarantee process context, but (given the place where the last reference was released) we cannot guarantee this. This API gets around the issue by executing the function directly if the caller has process context, but scheduling a workqueue to execute in process context if the caller doesn't have it. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
0 files changed, 0 insertions, 0 deletions