sysfs: kill sysfs_update_file()
authorTejun Heo <htejun@gmail.com>
Thu, 20 Sep 2007 07:05:10 +0000 (16:05 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:09 +0000 (14:51 -0700)
commit5a7ad7f044941316dc98eda2a087a12a7a50649d
tree03b61af0e90dc158df43f24f8a38792d8c6ae651
parent59f69015684b3de7b9472be9a81b1a978f93a496
sysfs: kill sysfs_update_file()

sysfs_update_file() depends on inode->i_mtime but sysfs iondes are now
reclaimable making the reported modification time unreliable.  There's
only one user (pci hotplug) of this notification mechanism and it
reportedly isn't utilized from userland.

Kill sysfs_update_file().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pci_hotplug_core.c
fs/sysfs/file.c
include/linux/sysfs.h