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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Dec 2009 23:45:30 +0000 (15:45 -0800)
commit3e26120cc7c819c97bc07281ca1fb9017cfe9a39
treee8aa119051496d8c4385aae4abd9e069e12e3be2
parentb6e3224fb20954f155e41ec5709b2ab70b50ae2d
kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negative.patch

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>
kernel/sysctl.c