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=16893,18503
[fs/lustre-release.git]
/
lustre
/
llite
/
remote_perm.c
diff --git
a/lustre/llite/remote_perm.c
b/lustre/llite/remote_perm.c
index
420d0fa
..
08c4bc1
100644
(file)
--- a/
lustre/llite/remote_perm.c
+++ b/
lustre/llite/remote_perm.c
@@
-63,7
+63,7
@@
static inline struct ll_remote_perm *alloc_ll_remote_perm(void)
{
struct ll_remote_perm *lrp;
- OBD_SLAB_ALLOC
(lrp, ll_remote_perm_cachep, GFP_KERNEL, sizeof(*lrp)
);
+ OBD_SLAB_ALLOC
_PTR_GFP(lrp, ll_remote_perm_cachep, GFP_KERNEL
);
if (lrp)
INIT_HLIST_NODE(&lrp->lrp_list);
return lrp;