diff options
| author | Qu Wenruo <[email protected]> | 2022-03-25 17:37:59 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-05-16 17:03:10 +0200 |
| commit | b06660b59545f5c2a5c7f12fabaad73f9c6e2e33 (patch) | |
| tree | 7a81d28c6d77b7228356ba8b13855ebc00d624af /tools/perf/scripts/python/bin | |
| parent | d4135134ab8feb994369d44884733e8031b0f800 (diff) | |
btrfs: replace memset with memzero_page in data checksum verification
The original code resets the page to 0x1 for not apparent reason, it's
been like that since the initial 2007 code added in commit 07157aacb1ec
("Btrfs: Add file data csums back in via hooks in the extent map code").
It could mean that a failed buffer can be detected from the data but
that's just a guess and any value is good.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ update changelog ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions