btrfs: use copy_page for copying pages instead of memcpy
authorDavid Sterba <dsterba@suse.com>
Fri, 29 Jun 2018 08:56:44 +0000 (10:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:43 +0000 (13:12 +0200)
commit69d2480456d1baf027a86e530989d7bedd698d5f
treed8ea7d3361136fb4620ce85ce2ea64ae6454c55a
parent3ffbd68c48320730ef64ebfb5e639220f1f65483
btrfs: use copy_page for copying pages instead of memcpy

Use the helper that's possibly optimized for full page copies.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/raid56.c