[SCSI] Fix transport class oops
authorJames Bottomley <James.Bottomley@steeleye.com>
Sun, 6 Nov 2005 17:47:08 +0000 (11:47 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 6 Nov 2005 18:31:30 +0000 (12:31 -0600)
commitdf133c212ef82b9c7e80fca7b1f87dad8a05de3c
tree61d5204c553098d047edf01574ac5a2c72ab320e
parentf912696ab330bf539231d1f8032320f2a08b850f
[SCSI] Fix transport class oops

There's an oops that sometimes shows up with SCSI transport classes in
sysfs_hash_and_remove.  The problem is that now, because of the class to
device and vice versa symlinks, all classes have to be removed from
visibility *before* the device is removed from visibility.

The transport class trigger points violate this, so bring them back into
conformance.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_sysfs.c