]> bbs.cooldavid.org Git - net-next-2.6.git/commit
jbd: Move debug message into #ifdef area
authorNamhyung Kim <namhyung@gmail.com>
Mon, 4 Oct 2010 08:26:53 +0000 (17:26 +0900)
committerJan Kara <jack@suse.cz>
Wed, 27 Oct 2010 23:30:01 +0000 (01:30 +0200)
commitc5639bef63a241d8d5a00e5243d7f304d7563c46
treef0db02b256104af545b5da0eb40627b9367f12b4
parent26f78b7a423aea094c536e94cbe1f1fa4641dd7b
jbd: Move debug message into #ifdef area

Move call to jbd_debug() into #ifdef CONFIG_JBD_DEBUG block because
'dropped' is declared there. The code could be compiled without this
change anyway, simply because jbd_debug() expands to nothing if
!CONFIG_JBD_DEBUG but IMHO it doesn't look good in general.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/jbd/recovery.c