Re: jbd : config_jbd_debug cannot create /proc entry

From: Jose R. Santos
Date: Tue Sep 25 2007 - 08:49:49 EST


On Tue, 25 Sep 2007 13:50:46 +0200
Jan Kara <jack@xxxxxx> wrote:
> > Jan Kara wrote:
> > >>
> > >-#define create_jbd_proc_entry() do {} while (0)
> > >-#define remove_jbd_proc_entry() do {} while (0)
> > >+static ctl_table fs_table[] = {
> > >+ {
> > >+ .ctl_name = -1, /* Don't want it */
> >
> >
> >
> > shouldn't this be CTL_UNNUMBERED ?
> Oh, it should be. I didn't notice we have this :) Thanks for notifying
> me. Attached is a fixed version.

This was fixed in JBD2 by moving the jbd-debug file to debugfs:
http://lkml.org/lkml/2007/7/11/334

Since this code is already in the kernel, we should keep it consistent.

-JRS
-
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/