} \
} while (0)
-static cfs_mem_cache_t *lu_ref_link_kmem;
+static struct kmem_cache *lu_ref_link_kmem;
static struct lu_kmem_descr lu_ref_caches[] = {
{
void lu_ref_add(struct lu_ref *ref, const char *scope, const void *source)
{
cfs_might_sleep();
- lu_ref_add_context(ref, CFS_ALLOC_STD, scope, source);
+ lu_ref_add_context(ref, GFP_IOFS, scope, source);
}
EXPORT_SYMBOL(lu_ref_add);
void lu_ref_add_atomic(struct lu_ref *ref, const char *scope,
const void *source)
{
- lu_ref_add_context(ref, CFS_ALLOC_ATOMIC, scope, source);
+ lu_ref_add_context(ref, GFP_ATOMIC, scope, source);
}
EXPORT_SYMBOL(lu_ref_add_atomic);