]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Tue, 6 Apr 2021 13:35:55 +0000 (15:35 +0200)
commit90f99ce65f27996b873c3e11de3001e42a2e6c00
treef54c50e882444441e4043e71d2bcfc75226543f2
parent089d535bfedf8b6f6af80637266313f3c6b32ac8
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