/* When the efd item is committed to disk, all we need to do is delete our reference to our partner efi item and then free ourselves. Since we're freeing ourselves we must return -1 to keep the transaction code from further referencing this item.  */
STATIC xfs_lsn_t xfs_efd_item_committed(xfs_efd_log_item_t *efdp, xfs_lsn_t lsn)
/* When the efd item is committed to disk, all we need to do is delete our reference to our partner efi item and then free ourselves. Since we're freeing ourselves we must return -1 to keep the transaction code from further referencing this item.  */
STATIC xfs_lsn_t xfs_efd_item_committed(xfs_efd_log_item_t *efdp, xfs_lsn_t lsn)
{
	if ((efdp->efd_item.li_flags & XFS_LI_ABORTED) == 0)
		xfs_efi_release(efdp->efd_efip, efdp->efd_format.efd_nextents);
	xfs_efd_item_free(efdp);
	return (xfs_lsn_t)-1;
}