]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit859d94495ae3533c3058307d679c8d01292afd47
treebf7325540763882142df28d23b4974e8e280d04b
parent1dc92215b21f3ac3690270cfb873a42f430c5ffe
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