Liam Howlett 58ee5a0de1 m68k: Add missing mmap_read_lock() to sys_cacheflush()
[ Upstream commit f829b4b212a315b912cb23fd10aaf30534bb5ce9 ]

When the superuser flushes the entire cache, the mmap_read_lock() is not
taken, but mmap_read_unlock() is called.  Add the missing
mmap_read_lock() call.

Fixes: cd2567b6850b1648 ("m68k: call find_vma with the mmap_sem held in sys_cacheflush()")
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20210407200032.764445-1-Liam.Howlett@Oracle.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:19 +02:00
..
2020-01-12 16:49:20 +01:00
2020-08-26 13:26:52 +02:00
2012-03-28 18:30:02 +01:00
2020-08-20 13:12:58 +02:00
2017-11-06 08:25:21 +10:00
2020-10-23 10:06:38 -07:00
2012-03-28 18:30:02 +01:00