Re: [PATCH 13/14] sysfs: kill attribute file orphaning

Tejun Heo
2007-04-08T02:18:53Z

Tejun Heo wrote:
> 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>

This isn't really true. An attribute can belong to different module
from the kobj's and we still need per-attribute orphaning as the backing
methods can go away. Please ignore patch 13, 14 of this patchset.

Thanks.

--
tejun