Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-26 Thread Jose R. Santos
On Wed, 26 Sep 2007 14:35:39 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > On Tue, 25 Sep 2007 16:36:08 +0200 > Jan Kara <[EMAIL PROTECTED]> wrote: > > > > On Tue, 25 Sep 2007 07:49:38 -0500 > > > "Jose R. Santos" <[EMAIL PROTECTED]> wrote: > > > > > > > On Tue, 25 Sep 2007 13:50:46 +0200 >

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-26 Thread Andrew Morton
ts - jbd_create_debugfs_entry is a better name than create_jbd_debugfs_entry - ditto remove_jbd_debugfs_entry - C functions are preferred over macros Cc: "Jose R. Santos" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Cc: Jan Kara <[EMAIL PROTECTED]> Cc: Jose R

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-26 Thread Andrew Morton
PROTECTED] Cc: Jan Kara [EMAIL PROTECTED] Cc: Jose R. Santos [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- diff -puN fs/jbd/journal.c~jbd-config_jbd_debug-cannot-create-proc-entry-fix fs/jbd/journal.c --- a/fs/jbd/journal.c~jbd-config_jbd_debug-cannot-create-proc-entry-fix

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-26 Thread Jose R. Santos
On Wed, 26 Sep 2007 14:35:39 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 16:36:08 +0200 Jan Kara [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 07:49:38 -0500 Jose R. Santos [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara [EMAIL

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jan Kara
> On Tue, 25 Sep 2007 07:49:38 -0500 > "Jose R. Santos" <[EMAIL PROTECTED]> wrote: > > > On Tue, 25 Sep 2007 13:50:46 +0200 > > Jan Kara <[EMAIL PROTECTED]> wrote: > > > > Jan Kara wrote: > > > > >> > > > > >-#define create_jbd_proc_entry() do {} while (0) > > > > >-#define

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jose R. Santos
On Tue, 25 Sep 2007 07:49:38 -0500 "Jose R. Santos" <[EMAIL PROTECTED]> wrote: > On Tue, 25 Sep 2007 13:50:46 +0200 > Jan Kara <[EMAIL PROTECTED]> wrote: > > > Jan Kara wrote: > > > >> > > > >-#define create_jbd_proc_entry() do {} while (0) > > > >-#define remove_jbd_proc_entry() do {} while (0)

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jose R. Santos
On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara <[EMAIL PROTECTED]> 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,

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jan Kara
> > > 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,

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Aneesh Kumar K.V
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

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jan Kara
> I enabled config_jbd_debug in the hope that it may help track down the > lockup I'm seeing, but unfortunately the /proc entry does not get > created. > > any ideas how to fix this ? Attached is a patch that should fix it. Andrew, would you queue it up?

jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread richard kennedy
I enabled config_jbd_debug in the hope that it may help track down the lockup I'm seeing, but unfortunately the /proc entry does not get created. any ideas how to fix this ? My machine is an Athlon 64X2 - fedora 7 x86_64 - 2.6.23-rc7 CONFIG_EXT3_FS=m CONFIG_JBD=m CONFIG_JBD_DEBUG=y I added the

jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread richard kennedy
I enabled config_jbd_debug in the hope that it may help track down the lockup I'm seeing, but unfortunately the /proc entry does not get created. any ideas how to fix this ? My machine is an Athlon 64X2 - fedora 7 x86_64 - 2.6.23-rc7 CONFIG_EXT3_FS=m CONFIG_JBD=m CONFIG_JBD_DEBUG=y I added the

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jan Kara
I enabled config_jbd_debug in the hope that it may help track down the lockup I'm seeing, but unfortunately the /proc entry does not get created. any ideas how to fix this ? Attached is a patch that should fix it. Andrew, would you queue it up?

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Aneesh Kumar K.V
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

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jan Kara
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

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jose R. Santos
On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara [EMAIL PROTECTED] 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 */

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jose R. Santos
On Tue, 25 Sep 2007 07:49:38 -0500 Jose R. Santos [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara [EMAIL PROTECTED] wrote: Jan Kara wrote: -#define create_jbd_proc_entry() do {} while (0) -#define remove_jbd_proc_entry() do {} while (0) +static ctl_table

Re: jbd : config_jbd_debug cannot create /proc entry

2007-09-25 Thread Jan Kara
On Tue, 25 Sep 2007 07:49:38 -0500 Jose R. Santos [EMAIL PROTECTED] wrote: On Tue, 25 Sep 2007 13:50:46 +0200 Jan Kara [EMAIL PROTECTED] wrote: Jan Kara wrote: -#define create_jbd_proc_entry() do {} while (0) -#define remove_jbd_proc_entry() do {} while (0) +static