/* We don't link the push cursor because it is embedded in the struct xfs_ail and hence easily findable.  */
STATIC void xfs_trans_ail_cursor_init(struct xfs_ail *ailp, struct xfs_ail_cursor *cur)
/* We don't link the push cursor because it is embedded in the struct xfs_ail and hence easily findable.  */
STATIC void xfs_trans_ail_cursor_init(struct xfs_ail *ailp, struct xfs_ail_cursor *cur)
{
	cur->item = NULL;
	if (cur == &ailp->xa_cursors)
		return;
	cur->next = ailp->xa_cursors.next;
	ailp->xa_cursors.next = cur;
}