projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: Move proc_*() functions inside #ifdef CONFIG_SYSCTL
[deliverable/linux.git]
/
drivers
/
staging
/
lustre
/
lustre
/
obdclass
/
linux
/
linux-sysctl.c
diff --git
a/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
b/drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
index dd46e73581608bc6a73cdb4314dd2a79fb55f02e..c86598d52d53cc23e4f455248b5a6357c7834b34 100644
(file)
--- a/
drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
+++ b/
drivers/staging/lustre/lustre/obdclass/linux/linux-sysctl.c
@@
-79,6
+79,7
@@
enum {
};
+#ifdef CONFIG_SYSCTL
static int proc_set_timeout(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp, loff_t *ppos)
{
@@
-258,7
+259,6
@@
static int proc_alloc_fail_rate(struct ctl_table *table, int write,
return rc;
}
-#ifdef CONFIG_SYSCTL
static struct ctl_table obd_table[] = {
{
.procname = "timeout",
This page took
0.031295 seconds
and
5
git commands to generate.