]> 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)
commit6d35177cd9afae5c9b374e1174f5b3552ab70c18
treea55620ff36abbf5cf4ef91da46e38b6cdf1ceefc
parent99bda9329e73d015f89d6edddab770e648943477
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