From: Hugh Dickins Date: Tue, 6 Mar 2012 20:28:52 +0000 (-0800) Subject: mmap: EINVAL not ENOMEM when rejecting VM_GROWS X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95fda1b806ed910f2a9ce2c016acd72f70075f7;p=pandora-kernel.git mmap: EINVAL not ENOMEM when rejecting VM_GROWS Currently error is -ENOMEM when rejecting VM_GROWSDOWN|VM_GROWSUP from shared anonymous: hoist the file case's -EINVAL up for both. Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed