Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-1346 libcfs: replace cfs_ memory wrappers
[fs/lustre-release.git]
/
lustre
/
ofd
/
ofd_dev.c
diff --git
a/lustre/ofd/ofd_dev.c
b/lustre/ofd/ofd_dev.c
index
0719d7d
..
20e3c59
100644
(file)
--- 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 */
#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[] = {
{
static struct lu_kmem_descr ofd_caches[] = {
{
@@
-313,7
+313,7
@@
static struct lu_object *ofd_object_alloc(const struct lu_env *env,
ENTRY;
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;
if (of != NULL) {
struct lu_object *o;
struct lu_object_header *h;