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-299 Initialize struct shrinker variable in test
[fs/lustre-release.git]
/
libcfs
/
autoconf
/
lustre-libcfs.m4
diff --git
a/libcfs/autoconf/lustre-libcfs.m4
b/libcfs/autoconf/lustre-libcfs.m4
index
254d5c6
..
af8418a
100644
(file)
--- a/
libcfs/autoconf/lustre-libcfs.m4
+++ b/
libcfs/autoconf/lustre-libcfs.m4
@@
-676,7
+676,7
@@
AC_DEFUN([LC_SHRINKER_WANT_SHRINK_PTR],
LB_LINUX_TRY_COMPILE([
#include <linux/mm.h>
],[
- struct shrinker tmp;
+ struct shrinker tmp
= {0}
;
tmp.shrink(NULL, 0, 0);
],[
AC_MSG_RESULT(yes)