diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2023-07-01 03:31:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-01 08:00:05 -0700 |
commit | 03f889378f33aa9a9d8e5f49ba94134cf6158090 (patch) | |
tree | 0cd0a31bf1619630f179e85729e6f7fd798f88d0 /mm/mmap.c | |
parent | a507db1d8fdc39802415e4d2ef6d1aecd67927fa (diff) | |
download | linux-stable-03f889378f33aa9a9d8e5f49ba94134cf6158090.tar.gz linux-stable-03f889378f33aa9a9d8e5f49ba94134cf6158090.tar.bz2 linux-stable-03f889378f33aa9a9d8e5f49ba94134cf6158090.zip |
xtensa: fix lock_mm_and_find_vma in case VMA not found
MMU version of lock_mm_and_find_vma releases the mm lock before
returning when VMA is not found. Do the same in noMMU version.
This fixes hang on an attempt to handle protection fault.
Fixes: d85a143b69ab ("xtensa: fix NOMMU build with lock_mm_and_find_vma() conversion")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions