JFS: Fix compiler warning in jfs_logmgr.c
commit72e3148a6e987974e3e949c5668e5ca812d7c818
authorDave Kleikamp <shaggy@austin.ibm.com>
Fri, 3 Jun 2005 19:09:54 +0000 (3 14:09 -0500)
committerDave Kleikamp <shaggy@austin.ibm.com>
Fri, 3 Jun 2005 19:09:54 +0000 (3 14:09 -0500)
treeabdf33dbbe33029ab81e7a209f11f29d2bc6b801
parentc2731509cfb538b9b38feaf657fab2334ea45253
JFS: Fix compiler warning in jfs_logmgr.c

fs/jfs/jfs_logmgr.c: In function `jfs_flush_journal':
fs/jfs/jfs_logmgr.c:1632: warning: unused variable `mp'

Some debug code in jfs_flush_journal does nothing when CONFIG_JFS_DEBUG
is not defined.  Place the whole code segment within an ifdef to avoid
unnecessary code to be compiled and the warning to be issued.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/jfs_logmgr.c