Re: bh_count undeclared

Theodore Tso
2008-05-26T01:05:48Z

On Mon, May 26, 2008 at 02:19:10AM +0200, Christian Kujau wrote:
> 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.
>

Hmm... it shouldn't have. It certainly works for me.

>> 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:
>
> But you want the refence surrounded by this #ifdef, right?

Yes, that's what I said.

Or grab the latest 'pu' branch that I pushed. That should fix things
for you.

- Ted