projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e3224
)
kernel/sysctl.c: fix the incomplete part of sysctl_max_map_count-should-be-non-negati...
author
WANG Cong
<amwang@redhat.com>
Thu, 17 Dec 2009 23:27:05 +0000
(15:27 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 17 Dec 2009 23:45:30 +0000
(15:45 -0800)
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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sysctl.c
b/kernel/sysctl.c
index 45e4bef0012a6747d6608cbb78ba0f700a29d7cb..6665761c006d0a67a5600cebb38d6856906ef9c5 100644
(file)
--- a/
kernel/sysctl.c
+++ b/
kernel/sysctl.c
@@
-1131,7
+1131,7
@@
static struct ctl_table vm_table[] = {
.data = &sysctl_max_map_count,
.maxlen = sizeof(sysctl_max_map_count),
.mode = 0644,
- .proc_handler = proc_dointvec,
+ .proc_handler = proc_dointvec
_minmax
,
.extra1 = &zero,
},
#else