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

Joel Becker jlbec at evilplan.org
Fri Feb 4 09:58:01 PST 2011


On Fri, Feb 04, 2011 at 09:40:27AM -0700, dann.frazier at canonical.com wrote:
> From: dann frazier <dann.frazier at canonical.com>
> 
> 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 at evilplan.org



More information about the Ocfs2-devel mailing list