]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
x86: mm: move mmap_sem unlock from mm_fault_error() to caller
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 15 Dec 2014 22:46:06 +0000 (14:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2015 08:34:01 +0000 (10:34 +0200)
commit2d892c7a1b4aa0dd42004a217c13cc90a37ae4dd
tree907e7ed98f212f3b4fb12cd4b2964f2ee5145cb3
parent1f74b26b0f118db0e658cbef2816d11d5ae0242c
x86: mm: move mmap_sem unlock from mm_fault_error() to caller

commit 7fb08eca45270d0ae86e1ad9d39c40b7a55d0190 upstream.

This replaces four copies in various stages of mm_fault_error() handling
with just a single one.  It will also allow for more natural placement
of the unlocking after some further cleanup.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/mm/fault.c