]> err.no Git - linux-2.6/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)
commit9ef3e4a4527e1f65b8776287c6d4fd1fca5ba98f
tree21352d4d676ada59ec83aa39963ddf0423ff6a72
parentbee4fe8e63ea1985f3955323dbc98b6d6bd5c6f8
[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