Re: bh_count undeclared

Christian Kujau
2008-05-26T00:19:14Z

On Sun, 25 May 2008, Theodore Tso wrote:
> Whoops, my bad. I was compiling with --enable-jfs-debug, and I didn't
> notice the change I made broke things without that configuration
> option.

But even *with* --enable-jfs-debug the error occured.

> The right fix is just to surround the bh_count reference with an
> #ifdef CONFIG_JBD_DEBUG.

Right now the declaration of bh_count is surrounded with an #ifdef:

#ifdef CONFIG_JBD_DEBUG /* Enabled by configure --enable-jfs-debug */
static int bh_count = 0;
#endif

But you want the refence surrounded by this #ifdef, right?

Thanks,
Christian.
--
BOFH excuse #192:

runaway cat on system.