jbd2: fix build when CONFIG_BUG is not enabled
authorRandy Dunlap <[email protected]>
Thu, 27 Oct 2011 08:05:13 +0000 (04:05 -0400)
committerTheodore Ts'o <[email protected]>
Thu, 27 Oct 2011 08:05:13 +0000 (04:05 -0400)
commit44705754610dbc63503bc7679ff9d9f84978a76f
treeb3b58dbc315562ef16f5382ef2212106e7ce6938
parentb3ff05690845911cc40387176f0bc5a7af9ef3ff
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 <[email protected]>.

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Arnaud Lacombe <[email protected]>
fs/jbd2/transaction.c