]> git.ipfire.org Git - people/arne_f/kernel.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:31:56 +0000 (10:31 +0200)
commit87f9c4f54e46372867c2a4dbc24c8ed22e83a3e8
tree68143ac5fddfe0e6168ba27a534f3a02d4d3187b
parent7416602197058717c10a5f5f68d0f1830e79fda9
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