aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2017-08-23 16:57:57 +0900
committerDavid Sterba <[email protected]>2017-10-30 12:27:58 +0100
commit7f43d4affb2a254d421ab20b0cf65ac2569909fb (patch)
tree385315443ada8869218f57cf52330f270aad9f10 /tools/perf/scripts/python
parentc3267bbaa9cae09b62960eafe33ad19196803285 (diff)
btrfs: Check if item pointer overlaps with the item itself
Function check_leaf() checks if any item pointer points outside of the leaf, but it doesn't check if the pointer overlaps with the item itself. Normally only the last item may be the victim, but adding such check is never a bad idea anyway. Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions