gfs2: Use memcpy_{from,to}_page where appropriate
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 27 Jun 2023 13:34:36 +0000 (15:34 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 3 Jul 2023 20:30:48 +0000 (22:30 +0200)
commitd68d0c6c3fc781c8a130e6a4d0666dbbd69e917b
treef284d052d5c95e8dba1399f94db1283fcface860
parentb0c21c6d527491276b1f7c9580bd2bf08c081add
gfs2: Use memcpy_{from,to}_page where appropriate

Replace kmap_local_page() + memcpy() + kunmap_local() sequences with
memcpy_{from,to}_page() where we are not doing anything else with the
mapped page.

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