kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negati...
authorWANG Cong <amwang@redhat.com>
Thu, 17 Dec 2009 23:27:05 +0000 (15:27 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:04:32 +0000 (15:04 -0800)
commit4b6d2635956c1ce642bc5dbfc8f460b516ed7e12
treecef6093a85d358d703e72efa0fa320e38ff3f723
parent3ec268a6828ccc37a15e62a7836433b081342345
kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negative.patch

commit 3e26120cc7c819c97bc07281ca1fb9017cfe9a39 upstream.

It is a mistake that we used 'proc_dointvec', it should be
'proc_dointvec_minmax', as in the original patch.

Signed-off-by: WANG Cong <amwang@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sysctl.c