]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit730f0be479af5385bc56dee0065bc97ce5bf6c3d
tree441944cc1c2e47e2d34cabb5313c25e03f3284d3
parent9ae9b1f72e8679a6bbdc094806bf5c9e4f674239
Fix VM_MAYEXEC calculation

.. 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