/* To remove and element and call the free function, call xfs_mru_cache_delete() with the data store and the element's key.  */
void xfs_mru_cache_delete(xfs_mru_cache_t *mru, unsigned long key)
/* To remove and element and call the free function, call xfs_mru_cache_delete() with the data store and the element's key.  */
void xfs_mru_cache_delete(xfs_mru_cache_t *mru, unsigned long key)
{
	void		*value = xfs_mru_cache_remove(mru, key);
	if (value)
		mru->free_func(key, value);
}