um: Fix hung task in fix_range_common()
authorRichard Weinberger <richard@nod.at>
Sun, 20 Jul 2014 11:16:20 +0000 (13:16 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 20 Jul 2014 11:16:20 +0000 (13:16 +0200)
commit468f65976a8d065ee1f27782337f4ee85a9151c5
treebf7325540763882142df28d23b4974e8e280d04b
parent284e6d39516cc7f9fbceebb259849fcb41559a7b
um: Fix hung task in fix_range_common()

If do_ops() fails we have to release current->mm->mmap_sem
otherwise the failing task will never terminate.

Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/tlb.c