btrfs: integrity-checker: use kmap_local_page in __btrfsic_submit_bio
authorIra Weiny <ira.weiny@intel.com>
Wed, 17 Feb 2021 02:48:25 +0000 (18:48 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:16 +0000 (17:25 +0200)
commit3e037efdbd72799d94afa6e0fcef5ff70359a895
tree0145722aa7eceacd52e0a419a4dfcf932c88ed14
parent94a0b58d2d3b92c72fbf1b97d9129e470c1d2175
btrfs: integrity-checker: use kmap_local_page in __btrfsic_submit_bio

Again there is an array of pointers which must be unmapped in the correct
order.

Convert the kmap()'s to kmap_local_page() and adjust the unmapping
to work backwards through the unmapping loop.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c