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
1d70be8
..
cb7c74f
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-mem.h
+++ b/
libcfs/include/libcfs/linux/linux-mem.h
@@
-200,7
+200,7
@@
struct cfs_shrinker *cfs_set_shrinker(int seek, cfs_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);