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-3641 libcfs: Zero fill shrinker struct in cfs_set_shrinker
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-mem.h
diff --git
a/libcfs/include/libcfs/linux/linux-mem.h
b/libcfs/include/libcfs/linux/linux-mem.h
index
43e4f5c
..
3554dfe
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-mem.h
+++ b/
libcfs/include/libcfs/linux/linux-mem.h
@@
-128,7
+128,7
@@
struct shrinker *set_shrinker(int seek, shrinker_t func)
{
struct shrinker *s;
-
s = km
alloc(sizeof(*s), GFP_KERNEL);
+
s = kz
alloc(sizeof(*s), GFP_KERNEL);
if (s == NULL)
return (NULL);