1 From 3e26120cc7c819c97bc07281ca1fb9017cfe9a39 Mon Sep 17 00:00:00 2001
2 From: WANG Cong <amwang@redhat.com>
3 Date: Thu, 17 Dec 2009 15:27:05 -0800
4 Subject: kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negative.patch
6 From: WANG Cong <amwang@redhat.com>
8 commit 3e26120cc7c819c97bc07281ca1fb9017cfe9a39 upstream.
10 It is a mistake that we used 'proc_dointvec', it should be
11 'proc_dointvec_minmax', as in the original patch.
13 Signed-off-by: WANG Cong <amwang@redhat.com>
14 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
15 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 kernel/sysctl.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
24 @@ -1607,7 +1607,7 @@ static struct ctl_table debug_table[] =
25 .data = &show_unhandled_signals,
26 .maxlen = sizeof(int),
28 - .proc_handler = proc_dointvec,
29 + .proc_handler = proc_dointvec_minmax,