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=21951 2.6.32-fc13 patchless client support for HEAD
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
portals_compat25.h
diff --git
a/libcfs/include/libcfs/linux/portals_compat25.h
b/libcfs/include/libcfs/linux/portals_compat25.h
index
da9eecb
..
7a87224
100644
(file)
--- a/
libcfs/include/libcfs/linux/portals_compat25.h
+++ b/
libcfs/include/libcfs/linux/portals_compat25.h
@@
-179,4
+179,8
@@
int proc_call_handler(void *data, int write,
int (*handler)(void *data, int write,
loff_t pos, void *buffer, int len));
+#ifndef HAVE_SCATTERLIST_INITTABLE
+#define sg_init_table(sgl, n) memset(sgl, 0, sizeof(*sgl) * n)
+#endif
+
#endif /* _PORTALS_COMPAT_H */