diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2009-09-21 17:03:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 07:17:39 -0700 |
commit | 5d863b89688e5811cd9e5bd0082cb38abe03adf3 (patch) | |
tree | 6041584a854fc70cd497843f134e2cf983741230 /mm | |
parent | 8c5cd6f3a1721085652da204d454af4f8b92eda2 (diff) | |
download | linux-stable-5d863b89688e5811cd9e5bd0082cb38abe03adf3.tar.gz linux-stable-5d863b89688e5811cd9e5bd0082cb38abe03adf3.tar.bz2 linux-stable-5d863b89688e5811cd9e5bd0082cb38abe03adf3.zip |
oom: fix oom_adjust_write() input sanity check
Andrew Morton pointed out oom_adjust_write() has very strange EIO
and new line handling. this patch fixes it.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Paul Menage <menage@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions