Re: bh_count undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux