commit | ce8fea7aa4ad9e3b40999a08622ef27c77159659 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hughd@google.com> | Tue Mar 06 12:28:52 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 06 13:49:08 2012 -0800 |
tree | 7d8696e506db022aa03f5927c9593db4df1ac2b8 | |
parent | 917ec63b61720b177271450399bca2f8c5168c0d [diff] |
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 <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>