summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-19 23:06:01 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-22 00:29:03 -0400
commit72c0d9cb0fc48b6d382c3b5b6f702108a612cfdb (patch)
tree50577d1142fea3feb2a4e3497de3469f9ca94951 /scripts/lib/kdoc/kdoc_parser.py
parentabcb6bd4be19d935795611c022d7d19ab69363b0 (diff)
bcachefs: Fix range in bch2_lookup_indirect_extent() error path
Before calling bch2_indirect_extent_missing_error(), we have to calculate the missing range, which is the intersection of the reflink pointer and the non-indirect-extent we found. The calculation didn't take into account that the returned extent may span the iter position, leading to an infinite loop when we (unnecessarily) resized the extent we were returning to one that didn't extend past the offset we were looking up. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions