[v4.17-rc5][bisected] be83bbf80682 breaks /proc/vmcore mmap

From: Vasily Gorbik
Date: Fri May 18 2018 - 22:19:36 EST


Greetings,

be83bbf80682 "mmap: introduce sane default mmap limits" introduced a
problem with mapping /proc/vmcore if it is bigger than 2gb. This
breaks s390 kernel zfcpdump. But it should be a general problem.

Please consider the following one-liner fix, if it makes sense.

Vasily Gorbik (1):
procfs: fix mmap() for /proc/vmcore

fs/proc/inode.c | 1 +
1 file changed, 1 insertion(+)

--
âââââ 2.17.0
ââââââ space invaders edition