#include "ofd_internal.h"
/* Slab for OFD object allocation */
-static cfs_mem_cache_t *ofd_object_kmem;
+static struct kmem_cache *ofd_object_kmem;
static struct lu_kmem_descr ofd_caches[] = {
{
ENTRY;
- OBD_SLAB_ALLOC_PTR_GFP(of, ofd_object_kmem, CFS_ALLOC_IO);
+ OBD_SLAB_ALLOC_PTR_GFP(of, ofd_object_kmem, __GFP_IO);
if (of != NULL) {
struct lu_object *o;
struct lu_object_header *h;