]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: fix build when CONFIG_BUG is not enabled
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 27 Oct 2011 08:05:13 +0000 (04:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Oct 2011 08:05:13 +0000 (04:05 -0400)
commitf29787a733ab7493c6190af0c2104263ce867277
treeb3b58dbc315562ef16f5382ef2212106e7ce6938
parent74ad0c766f5e87715e8559a835d7e3050d3ce227
jbd2: fix build when CONFIG_BUG is not enabled

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>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Arnaud Lacombe <lacombar@gmail.com>
fs/jbd2/transaction.c