xfs_trans_buf_is_dirty
ASSERT(!xfs_trans_buf_is_dirty(bp));
bool xfs_trans_buf_is_dirty(struct xfs_buf *bp);