aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-08 14:53:03 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-10 15:21:04 -0400
commit94817db95681155437100d9f25b3e1390fff8ad6 (patch)
tree82d95c33b56716444180b897232d3f0932f4523b /tools/perf/scripts/python/libxed.py
parentbcachefs: Fix degraded mode fsck (diff)
downloadlinux-94817db95681155437100d9f25b3e1390fff8ad6.tar.gz
linux-94817db95681155437100d9f25b3e1390fff8ad6.zip
bcachefs: Correctly validate k->u64s in btree node read path
validate_bset_keys() never properly validated k->u64s; it checked if it was 0, but not if it was smaller than keys for the given packed format; this fixes that small oversight. This patch was backported, so it's adding quite a few error enums so that they don't get renumbered and we don't have confusing gaps. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions