gfs2: Convert remaining kmap_atomic calls to kmap_local_page
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 26 Jun 2023 22:22:54 +0000 (00:22 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 3 Jul 2023 20:30:47 +0000 (22:30 +0200)
commitb0c21c6d527491276b1f7c9580bd2bf08c081add
treeb8ba07acd05af729febf19f03e638d260bef5f0b
parent58721bd46c9aaa2d890b2d61cbb8740745455aa9
gfs2: Convert remaining kmap_atomic calls to kmap_local_page

Replace the remaining instances of kmap_atomic() ... kunmap_atomic()
with kmap_local_page() ... kunmap_local().

In gfs2_write_buf_to_page(), we can call flush_dcache_page() after
unmapping the page.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/lops.c
fs/gfs2/quota.c