Re: [PATCH -next] jbd2: fix build when CONFIG_BUG is not enabled

Ted Ts'o
2011-10-27T08:06:21Z

On Tue, Oct 11, 2011 at 12:15:20PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix build error when CONFIG_BUG is not enabled:
>
> fs/jbd2/transaction.c:1175:3: error: implicit declaration of function '__WARN'
>
> by changing __WARN() to WARN_ON(), as suggested by
> Arnaud Lacombe <lacombar@gmail.com>.
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Arnaud Lacombe <lacombar@gmail.com>

Thanks, applied.

- Ted