Skip to content

Commit

Permalink
xfs: fix fs/xfs/xfs_log.c:1740:39: error: 'B_TRUE' undeclared
Browse files Browse the repository at this point in the history
Commit 667a929 "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>
  • Loading branch information
Ben Myers committed Jan 18, 2013
1 parent 9e96fe6 commit 003fd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/xfs_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 003fd6c

Please sign in to comment.