]> git.itanic.dy.fi Git - linux-stable/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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 12 Mar 2015 16:31:25 +0000 (17:31 +0100)
commit7c5c89acd372a0354e47e8f94d4e1f6f721ef632
tree530f6bc9fb46068eb95958ba3a597553649b9a37
parente3bc11535cdd5e26a162dbc280c2e062b7749254
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: Jiri Slaby <jslaby@suse.cz>
arch/x86/mm/fault.c