[xfs:for-next 7/8] fs/xfs/xfs_log.c:1740:39: error: 'B_TRUE' undeclared

Thiago Farina tfarina at chromium.org
Thu Jan 17 18:52:10 CST 2013


On Thu, Jan 17, 2013 at 10:16 PM, kbuild test robot
<fengguang.wu at intel.com> wrote:
> tree:   git://oss.sgi.com/xfs/xfs for-next
> head:   9e96fe6df44425b69ed89f6ac20352cec1f127d7
> commit: 667a9291c5b38318a47a2df730bc064e5d37d2a8 [7/8] xfs: Remove boolean_t typedef completely.
> config: make ARCH=x86_64 allmodconfig
>
> All error/warnings:
>
>    fs/xfs/xfs_log.c: In function 'xlog_sync':
>>> fs/xfs/xfs_log.c:1740:39: error: 'B_TRUE' undeclared (first use in this function)
>    fs/xfs/xfs_log.c:1740:39: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +/B_TRUE +1740 fs/xfs/xfs_log.c
>
>   1734                          bp->b_flags |= XBF_FLUSH;
>   1735          }
>   1736
>   1737          ASSERT(XFS_BUF_ADDR(bp) <= log->l_logBBsize-1);
>   1738          ASSERT(XFS_BUF_ADDR(bp) + BTOBB(count) <= log->l_logBBsize);
>   1739
>> 1740          xlog_verify_iclog(log, iclog, count, B_TRUE);
>   1741
s/B_TRUE/true
?

>   1742          /* account for log which doesn't start at block #0 */
>   1743          XFS_BUF_SET_ADDR(bp, XFS_BUF_ADDR(bp) + log->l_logBBstart);
>
> ---
> 0-DAY kernel build testing backend              Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation



-- 
Thiago



More information about the xfs mailing list