]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mm: remove sysctl_extfrag_handler()
authorMatthew Wilcox <willy@infradead.org>
Tue, 5 Mar 2019 23:43:41 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Mar 2019 05:07:15 +0000 (21:07 -0800)
commit6b7e5cad651a2b1031a4c69a98f87e3532dd4cef
treeb00b223d518650b71e1391ee7c07d1ea4b1371b1
parenta05ef00c97900f69f6e69d88e8a657b7a4ef8cbd
mm: remove sysctl_extfrag_handler()

sysctl_extfrag_handler() neglects to propagate the return value from
proc_dointvec_minmax() to its caller.  It's a wrapper that doesn't need
to exist, so just use proc_dointvec_minmax() directly.

Link: http://lkml.kernel.org/r/20190104032557.3056-1-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reported-by: Aditya Pakki <pakki001@umn.edu>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compaction.h
kernel/sysctl.c
mm/compaction.c