Re: [Ocfs2-devel] [PATCH] [ocfs2] Use a kobject instead of a kset

From: Joel Becker
Date: Fri Feb 04 2011 - 12:58:37 EST


On Fri, Feb 04, 2011 at 09:40:27AM -0700, dann.frazier@xxxxxxxxxxxxx wrote:
> From: dann frazier <dann.frazier@xxxxxxxxxxxxx>
>
> We currently allocate a kset and add attributes to its internal kobject.
> However, Documentation/kobject.txt says only the kset code should manipulate
> this internal object, and we can get the same results by just creating our
> own kobject and avoiding a kset altogether.

Hmm, is this actually valid? I thought you had to be a kset to
have children. Did this change at some point?

Joel

--

"Soap and education are not as sudden as a massacre, but they are more
deadly in the long run."
- Mark Twain


http://www.jlbec.org/
jlbec@xxxxxxxxxxxx
--
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/