]> err.no Git - linux-2.6/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)
commit73107cb3ad3963c0f929ae681c05081eafb1c079
tree78c9647d5e6a0d9c89cb8c37b7533aad8f805302
parent0ab66088c855eca68513bdd7442a426c4b374ced
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