]> git.baikalelectronics.ru Git - kernel.git/commit
sysfs: kill attribute file orphaning
authorTejun Heo <htejun@gmail.com>
Wed, 13 Jun 2007 18:45:16 +0000 (03:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jul 2007 23:09:05 +0000 (16:09 -0700)
commit971a6fb1aaf35744fa733e0ff3be0b078fea268a
tree78c9647d5e6a0d9c89cb8c37b7533aad8f805302
parent28377f56c85f58e5dfb32ec2e398319fcdaedfaa
sysfs: kill attribute file orphaning

Now that sysfs_dirent can be disconnected from kobject on deletion,
there is no need to orphan each attribute files.  All [bin_]attribute
nodes are automatically orphaned when the parent node is deleted.
Kill attribute file orphaning.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/file.c
fs/sysfs/inode.c
fs/sysfs/mount.c
fs/sysfs/sysfs.h