aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorTomasz Majchrzak <[email protected]>2016-10-12 12:23:08 +0200
committerJens Axboe <[email protected]>2016-10-12 08:08:08 -0600
commit1fa9ce8d0e903449842943a77e8ba100169964be (patch)
tree41d80d976b3c37fb424d44f25239fbb5c3aa3198 /scripts/gdb/linux/lists.py
parent24532f768121b07b16178ffb40442ece43365cbd (diff)
badblocks: fix overlapping check for clearing
Current bad block clear implementation assumes the range to clear overlaps with at least one bad block already stored. If given range to clear precedes first bad block in a list, the first entry is incorrectly updated. Check not only if stored block end is past clear block end but also if stored block start is before clear block end. Signed-off-by: Tomasz Majchrzak <[email protected]> Acked-by: NeilBrown <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions