Liam Howlett fce000b1bc mm/mmap.c: don't unlock VMAs in remap_file_pages()
Since this call uses MAP_FIXED, do_mmap() will munlock the necessary
range.  There is also an error in the loop test expression which will
evaluate as false and the loop body has never execute.

Link: https://lkml.kernel.org/r/20210223235010.2296915-1-Liam.Howlett@Oracle.com
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Acked-by: Hugh Dickins <hughd@google.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-05-05 11:27:25 -07:00
..
2021-05-05 11:27:24 -07:00
2021-05-05 11:27:24 -07:00
2021-02-24 13:38:27 -08:00
2021-05-05 11:27:19 -07:00
2021-04-30 11:20:37 -07:00
2021-05-05 11:27:24 -07:00
2021-04-30 11:20:36 -07:00
2021-05-05 11:27:24 -07:00
2021-03-02 17:25:46 -07:00
2021-04-16 16:10:37 -07:00
2021-05-05 11:27:19 -07:00
2021-04-30 11:20:37 -07:00
2021-04-30 11:20:40 -07:00