2010-12-12 10:45:34

by Jovi Zhang

[permalink] [raw]
Subject: [PATCH 1/2] sysctl: fix error config typo

fix error config typo

Signed-off-by: Jovi Zhang <[email protected]>

kernel/sysctl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 5abfa15..6f3b6f4 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -2900,7 +2900,7 @@ int proc_do_large_bitmap(struct ctl_table *table, int write,
}
}

-#else /* CONFIG_PROC_FS */
+#else /* CONFIG_PROC_SYSCTL */

int proc_dostring(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp, loff_t *ppos)
@@ -2952,7 +2952,7 @@ int proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write,
}


-#endif /* CONFIG_PROC_FS */
+#endif /* CONFIG_PROC_SYSCTL */

/*
* No sense putting this after each symbol definition, twice,


2010-12-12 15:26:34

by Cong Wang

[permalink] [raw]
Subject: Re: [PATCH 1/2] sysctl: fix error config typo

On Fri, Dec 10, 2010 at 10:03:44PM -0500, [email protected] wrote:
>fix error config typo
>
>Signed-off-by: Jovi Zhang <[email protected]>
>

Acked-by: WANG Cong <[email protected]>

Thanks.