Thread (4 messages) 4 messages, 3 authors, 2007-04-25

Re: [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute

From: Richard Purdie <hidden>
Date: 2007-02-28 20:57:17
Also in: lkml

On Wed, 2007-02-28 at 21:39 +0200, Artem Bityutskiy wrote:
On Wed, 2007-02-28 at 19:13 +0000, Richard Purdie wrote:
quoted
+/* gives us jffs2_subsys */
+static decl_subsys(jffs2, NULL, NULL);
There is actually a file-system subsys - look up for fs_subsys. It is
declared at fs/namespace.c.
Further down the patch you'll see:

+	kset_set_kset_s(&jffs2_subsys, fs_subsys);

There was a reason for doing that instead using fs_subsys in the above
although I can't remember why offhand. I did try it and it didn't work
as expected...

Regards,

Richard


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help