mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-05 03:44:05 +00:00
Oops, scoutfs_btree_prev() asked btree_walk() for the key for the next block, not the previous block to search when it's walk lands in the space before all the items in the leaf block. I saw it when truncate's check_size_eq constraint failed on items outside the range which stopped the truncate and left inodes, extents, and the orphan item around after rm -rf. Signed-off-by: Zach Brown <zab@versity.com> Reviewed-by: Mark Fasheh <mfasheh@versity.com>