projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: llite: Replace kmem_cache_alloc with kmem_cache_zalloc
[platform/kernel/linux-rpi.git]
/
drivers
/
staging
/
lustre
/
lustre
/
llite
/
xattr_cache.c
diff --git
a/drivers/staging/lustre/lustre/llite/xattr_cache.c
b/drivers/staging/lustre/lustre/llite/xattr_cache.c
index
c069f8b
..
3480ce2
100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/xattr_cache.c
+++ b/
drivers/staging/lustre/lustre/llite/xattr_cache.c
@@
-114,7
+114,7
@@
static int ll_xattr_cache_add(struct list_head *cache,
return -EPROTO;
}
- xattr = kmem_cache_
alloc(xattr_kmem, GFP_NOFS | __GFP_ZERO
);
+ xattr = kmem_cache_
zalloc(xattr_kmem, GFP_NOFS
);
if (!xattr) {
CDEBUG(D_CACHE, "failed to allocate xattr\n");
return -ENOMEM;