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-506 FC15: ctl_name & strategy removed from ctl_table.
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
kp30.h
diff --git
a/libcfs/include/libcfs/linux/kp30.h
b/libcfs/include/libcfs/linux/kp30.h
index
122a506
..
ff19b55
100644
(file)
--- a/
libcfs/include/libcfs/linux/kp30.h
+++ b/
libcfs/include/libcfs/linux/kp30.h
@@
-360,4
+360,12
@@
static inline void sg_set_page(struct scatterlist *sg, struct page *page,
# define cfs_put_cpu() put_cpu()
#endif /* get_cpu & put_cpu */
+#ifdef HAVE_SYSCTL_CTLNAME
+#define INIT_CTL_NAME(a) .ctl_name = a,
+#define INIT_STRATEGY(a) .strategy = a,
+#else
+#define INIT_CTL_NAME(a)
+#define INIT_STRATEGY(a)
+#endif
+
#endif