Messages in this thread | | | Date | Tue, 25 Sep 2007 16:34:06 +0530 | From | "Aneesh Kumar K.V" <> | Subject | Re: jbd : config_jbd_debug cannot create /proc entry |
| |
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 ?
> + .procname = "jbd-debug", > + .data = &journal_enable_debug, > + .maxlen = sizeof(int), > + .mode = 0644, > + .proc_handler = &proc_dointvec, > + }, > + { .ctl_name = 0 }, > +}; >
-aneesh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |