summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2020-05-29 16:26:07 +0300
committerDavid Sterba <dsterba@suse.com>2020-07-27 13:55:22 +0300
commita8b3a89074f8677533cdb3843da121d697c1938c (patch)
treeb211cdd6cdff7c3af52f7e0ef739b69131375514 /scripts
parent74ef00185eb864252156022ff129b01549504175 (diff)
downloadlinux-a8b3a89074f8677533cdb3843da121d697c1938c.tar.xz
btrfs: scrub: remove kmap/kunmap of pages
All pages that scrub uses in the scrub_block::pagev array are allocated with GFP_KERNEL and never part of any mapping, so kmap is not necessary, we only need to know the page address. In scrub_write_page_to_dev_replace we don't even need to call flush_dcache_page because of the same reason as above. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions