提交 003fd6c8 编写于 作者: B Ben Myers

xfs: fix fs/xfs/xfs_log.c:1740:39: error: 'B_TRUE' undeclared

Commit 667a9291 "xfs: Remove boolean_t typedef completely." didn't.

Remove a stray B_TRUE that breaks CONFIG_XFS_DEBUG=y.
Signed-off-by: NBen Myers <bpm@sgi.com>
Reported-by: NWu Fengguang <fengguang.wu@intel.com>
Reviewed-by: NMark Tinguely <tinguely@sgi.com>
上级 9e96fe6d
...@@ -1737,7 +1737,7 @@ xlog_sync( ...@@ -1737,7 +1737,7 @@ xlog_sync(
ASSERT(XFS_BUF_ADDR(bp) <= log->l_logBBsize-1); ASSERT(XFS_BUF_ADDR(bp) <= log->l_logBBsize-1);
ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize); 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 */ /* account for log which doesn't start at block #0 */
XFS_BUF_SET_ADDR(bp, XFS_BUF_ADDR(bp) + log->l_logBBstart); XFS_BUF_SET_ADDR(bp, XFS_BUF_ADDR(bp) + log->l_logBBstart);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册