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

From: Tejun Heo
Date: Sat Apr 07 2007 - 22:19:30 EST


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@xxxxxxxxx>

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/