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

2007-04-25 Thread David Woodhouse
On Wed, 2007-02-28 at 19:13 +, Richard Purdie wrote: > Allow selection of the compression mode for jffs2 via a sysfs > attribute. This establishes a sysfs presence for jffs2 through > which other compression options could easily be exported too. And other options like GC threshold and other

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

2007-04-25 Thread David Woodhouse
On Wed, 2007-02-28 at 19:13 +, Richard Purdie wrote: Allow selection of the compression mode for jffs2 via a sysfs attribute. This establishes a sysfs presence for jffs2 through which other compression options could easily be exported too. And other options like GC threshold and other

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

2007-02-28 Thread Richard Purdie
On Wed, 2007-02-28 at 21:39 +0200, Artem Bityutskiy wrote: > On Wed, 2007-02-28 at 19:13 +, Richard Purdie wrote: > > +/* 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

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

2007-02-28 Thread Artem Bityutskiy
Hi Richard, On Wed, 2007-02-28 at 19:13 +, Richard Purdie wrote: > +/* 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. -- Best regards, Artem Bityutskiy (Битюцкий Артём) -

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

2007-02-28 Thread Richard Purdie
Allow selection of the compression mode for jffs2 via a sysfs attribute. This establishes a sysfs presence for jffs2 through which other compression options could easily be exported too. Signed-off-by: Richard Purdie <[EMAIL PROTECTED]> --- fs/jffs2/compr.c | 131

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

2007-02-28 Thread Richard Purdie
Allow selection of the compression mode for jffs2 via a sysfs attribute. This establishes a sysfs presence for jffs2 through which other compression options could easily be exported too. Signed-off-by: Richard Purdie [EMAIL PROTECTED] --- fs/jffs2/compr.c | 131

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

2007-02-28 Thread Artem Bityutskiy
Hi Richard, On Wed, 2007-02-28 at 19:13 +, Richard Purdie wrote: +/* 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. -- Best regards, Artem Bityutskiy (Битюцкий Артём) - To

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

2007-02-28 Thread Richard Purdie
On Wed, 2007-02-28 at 21:39 +0200, Artem Bityutskiy wrote: On Wed, 2007-02-28 at 19:13 +, Richard Purdie wrote: +/* 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.