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
b=20748
[fs/lustre-release.git]
/
lustre
/
lmv
/
lmv_object.c
diff --git
a/lustre/lmv/lmv_object.c
b/lustre/lmv/lmv_object.c
index
f10c23c
..
b96f9f9
100644
(file)
--- a/
lustre/lmv/lmv_object.c
+++ b/
lustre/lmv/lmv_object.c
@@
-78,8
+78,7
@@
struct lmv_object *lmv_object_alloc(struct obd_device *obd,
|| mea->mea_magic == MEA_MAGIC_ALL_CHARS
|| mea->mea_magic == MEA_MAGIC_HASH_SEGMENT);
- OBD_SLAB_ALLOC(obj, lmv_object_cache, CFS_ALLOC_STD,
- sizeof(*obj));
+ OBD_SLAB_ALLOC_PTR(obj, lmv_object_cache);
if (!obj)
return NULL;