xfs: fix fs/xfs/xfs_log.c:1740:39: error: 'B_TRUE' undeclared
authorBen Myers <bpm@sgi.com>
Fri, 18 Jan 2013 20:17:46 +0000 (14:17 -0600)
committerBen Myers <bpm@sgi.com>
Fri, 18 Jan 2013 21:11:57 +0000 (15:11 -0600)
Commit 667a9291c5b3 "xfs: Remove boolean_t typedef completely." didn't.

Remove a stray B_TRUE that breaks CONFIG_XFS_DEBUG=y.

Signed-off-by: Ben Myers <bpm@sgi.com>
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
fs/xfs/xfs_log.c

index dafdae36f2fb3a2d73585e04adee5e7b8e2c3b68..eec226f78a4060f053235399952db73778da8afa 100644 (file)
@@ -1737,7 +1737,7 @@ xlog_sync(
        ASSERT(XFS_BUF_ADDR(bp) <= log->l_logBBsize-1);
        ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize);
 
-       xlog_verify_iclog(log, iclog, count, B_TRUE);
+       xlog_verify_iclog(log, iclog, count, true);
 
        /* account for log which doesn't start at block #0 */
        XFS_BUF_SET_ADDR(bp, XFS_BUF_ADDR(bp) + log->l_logBBstart);