]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] switch sdev sysfs attributes to default attributes
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 11 Sep 2007 15:00:14 +0000 (17:00 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:48:22 +0000 (14:48 -0400)
commitbfd129445f23c037d9a440ebfa4109e11c220301
tree7952a3701233972e2257e8c85d063188413b9c78
parent01fbfe0b8359695a3ff7f4b79ab1e0a777f10ae4
[SCSI] switch sdev sysfs attributes to default attributes

This removes the unused sysfs attribute overwriting logic for most of
the attributes, and plugs them into the driver core default attribute
creation.

Without this patch, at the time of the events for the SCSI LUN's, there
will be no sysfs files, because their creation is delayed until the sd
driver has spun up the disks, which might take several seconds. It is the
last WAIT_FOR_SYSFS rule in the default udev setup which can be removed
with this change.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_sysfs.c