/* Remove the entry "free" from the free item list. Prev points to the previous entry, unless "free" is the head of the list.  */
STATIC void xfs_bmap_del_free(xfs_bmap_free_t *flist, xfs_bmap_free_item_t *prev, xfs_bmap_free_item_t *free)
/* Remove the entry "free" from the free item list. Prev points to the previous entry, unless "free" is the head of the list.  */
STATIC void xfs_bmap_del_free(xfs_bmap_free_t *flist, xfs_bmap_free_item_t *prev, xfs_bmap_free_item_t *free)
{
	if (prev)
		prev->xbfi_next = free->xbfi_next;
	else
		flist->xbf_first = free->xbfi_next;
	flist->xbf_count--;
	kmem_zone_free(xfs_bmap_free_item_zone, free);
}