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-5396 obdclass: make some functions static
[fs/lustre-release.git]
/
lustre
/
obdclass
/
linux
/
linux-sysctl.c
diff --git
a/lustre/obdclass/linux/linux-sysctl.c
b/lustre/obdclass/linux/linux-sysctl.c
index
1723f05
..
10a2aec
100644
(file)
--- a/
lustre/obdclass/linux/linux-sysctl.c
+++ b/
lustre/obdclass/linux/linux-sysctl.c
@@
-52,9
+52,10
@@
#include <obd_support.h>
#include <lprocfs_status.h>
#include <obd_support.h>
#include <lprocfs_status.h>
+#include <obd_class.h>
#ifdef CONFIG_SYSCTL
#ifdef CONFIG_SYSCTL
-st
ruct ctl_table_header *obd_table_header = NULL
;
+st
atic struct ctl_table_header *obd_table_header
;
#endif
static int
#endif
static int
@@
-216,8
+217,8
@@
proc_max_dirty_pages_in_mb(struct ctl_table *table, int write,
}
#ifdef RANDOM_FAIL_ALLOC
}
#ifdef RANDOM_FAIL_ALLOC
-int proc_alloc_fail_rate(struct ctl_table *table, int write,
- void __user *buffer, size_t *lenp, loff_t *ppos)
+
static
int proc_alloc_fail_rate(struct ctl_table *table, int write,
+
void __user *buffer, size_t *lenp, loff_t *ppos)
{
int rc = 0;
{
int rc = 0;