/* Set the cursor to the next item, because when we look up the cursor the current item may have been freed.  */
STATIC void xfs_trans_ail_cursor_set(struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct xfs_log_item *lip)
/* Set the cursor to the next item, because when we look up the cursor the current item may have been freed.  */
STATIC void xfs_trans_ail_cursor_set(struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct xfs_log_item *lip)
{
	if (lip)
		cur->item = xfs_ail_next(ailp, lip);
}