]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: scrub: cleanup the remaining nodatasum fixup code
authorQu Wenruo <wqu@suse.com>
Wed, 11 Jul 2018 05:41:22 +0000 (13:41 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:53 +0000 (13:12 +0200)
commitcaebc53c3f93dcf3f9ab6679d681744a86abca39
treea55620ff36abbf5cf4ef91da46e38b6cdf1ceefc
parentb5ee812b65d3762a2d3dfd292024d9e38ec45ea6
btrfs: scrub: cleanup the remaining nodatasum fixup code

Remove the remaining code that misused the page cache pages during
device replace and could cause data corruption for compressed nodatasum
extents. Such files do not normally exist but there's a bug that allows
this combination and the corruption was exposed by device replace fixup
code.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c