Whamcloud - gitweb
LU-1346 libcfs: replace cfs_ memory wrappers
[fs/lustre-release.git] / lustre / ofd / ofd_dev.c
index 0719d7d..20e3c59 100644 (file)
@@ -49,7 +49,7 @@
 #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[] = {
        {
@@ -313,7 +313,7 @@ static struct lu_object *ofd_object_alloc(const struct lu_env *env,
 
        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;