X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fofd%2Fofd_dev.c;h=20e3c5926f1c118190346b7122bfb39761a5efd6;hb=1b2547843817b4b7adbeb87ea9b070d9cac35c90;hp=0719d7da2a243b4430f49055bed37ef8d6a63cfc;hpb=9f5eea8ea8b42298e8b7eadebc51ceba4687705c;p=fs%2Flustre-release.git diff --git a/lustre/ofd/ofd_dev.c b/lustre/ofd/ofd_dev.c index 0719d7d..20e3c59 100644 --- a/lustre/ofd/ofd_dev.c +++ b/lustre/ofd/ofd_dev.c @@ -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;