Fix VM_MAYEXEC calculation
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Oct 2006 21:09:55 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Oct 2006 21:09:55 +0000 (14:09 -0700)
.. and clean up the file mapping code while at it.  No point in having a
"if (file)" repeated twice, and generally doing similar checks in two
different sections of the same code

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mmap.c

diff --cc mm/mmap.c
Simple merge