]> git.hungrycats.org Git - bees/commit
btrfs-tree: harden `rlower_bound` against exceptional objects
authorZygo Blaxell <bees@furryterror.org>
Tue, 28 Jan 2025 01:04:13 +0000 (20:04 -0500)
committerZygo Blaxell <bees@furryterror.org>
Fri, 7 Feb 2025 03:42:15 +0000 (22:42 -0500)
commitd32f31f411eeb1a8624b99dab223af69f0c8453e
tree826b83b6a3d5b69436ca891cec73ff492913ef31
parentdd08f6379f35de2488ccc44752bbccf9fc39df71
btrfs-tree: harden `rlower_bound` against exceptional objects

Rearrange the logic in `rlower_bound` so it can cope with a tree
that contains mostly block-aligned objects, with a few exceptions
filtered out by `hdr_stop`.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
lib/btrfs-tree.cc