summaryrefslogtreecommitdiff
path: root/net/rxrpc
diff options
context:
space:
mode:
authorLiam Howlett <liam.howlett@oracle.com>2021-04-07 20:00:45 +0000
committerGeert Uytterhoeven <geert@linux-m68k.org>2021-04-12 11:48:31 +0200
commitf829b4b212a315b912cb23fd10aaf30534bb5ce9 (patch)
treed330a11ff76cae9b812d9ead43240da19220388c /net/rxrpc
parent7accea0c95a1ce4cf1bbf622c42b00c27a2dd51d (diff)
m68k: Add missing mmap_read_lock() to sys_cacheflush()
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>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions