summaryrefslogtreecommitdiff
path: root/kernel/rcu/tree.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2025-05-05 18:56:18 +0930
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 15:31:29 +0200
commit7f45183ceab812f79e3e94b54afa8e9eee83fd71 (patch)
treebc79bc11291e505887072a202305f0dd28a1b418 /kernel/rcu/tree.c
parent5bd799d2ac6e5343243f21c54945dad69e49e6ea (diff)
btrfs: scrub: fix a wrong error type when metadata bytenr mismatches
[ Upstream commit f2c19541e421b3235efc515dad88b581f00592ae ] When the bytenr doesn't match for a metadata tree block, we will report it as an csum error, which is incorrect and should be reported as a metadata error instead. Fixes: a3ddbaebc7c9 ("btrfs: scrub: introduce a helper to verify one metadata block") Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/rcu/tree.c')
0 files changed, 0 insertions, 0 deletions