]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8a64faef3154980ef5653210632a720d49750fe
tree03b61af0e90dc158df43f24f8a38792d8c6ae651
parent814f50ca89b9c62185abe8047bf98dbd394400f9
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