]> git.baikalelectronics.ru Git - kernel.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>
Mon, 19 Apr 2021 15:25:16 +0000 (17:25 +0200)
commitb4f1b27ab64fe279d725ee211c5c3e0fc507826d
tree0145722aa7eceacd52e0a419a4dfcf932c88ed14
parent2febcdff2c69b75e9f2fd970e8a7658dc04cf765
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