]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] fc_transport: fix sysfs deadlock on vport delete
authorJames Smart <James.Smart@Emulex.Com>
Thu, 24 May 2007 23:04:44 +0000 (19:04 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 26 May 2007 16:47:58 +0000 (11:47 -0500)
commita320419730dde1268cc3d855b037346582a29ac1
tree21352d4d676ada59ec83aa39963ddf0423ff6a72
parentcecb11913ea39fe79265d76fa7bd3c9ead53deee
[SCSI] fc_transport: fix sysfs deadlock on vport delete

When the vport attribute "delete" is used to delete the vport, sysfs
deadlocks waiting for the write to complete, which is waiting for the
sysfs teardown to complete. Moved this effort to a work_q element.

Took the opportunity to make some other cosmetic changes:
 - removed tabs in Doc file - replaced with expanded spaces
 - minor copyright text and author text updates
 - removed a bunch of trailing whitespace

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Documentation/scsi/scsi_fc_transport.txt
drivers/scsi/scsi_transport_fc.c
include/scsi/scsi_transport_fc.h