Re: [PATCH 0/2] btrfs: clean up two FIXMEs related to btrfs_search_slot output handling

From: David Sterba

Date: Wed Feb 04 2026 - 09:03:59 EST


On Tue, Feb 03, 2026 at 10:53:55PM +0530, Adarsh Das wrote:
> Both patches fix cases where a search with offset (u64)-1 gets an
> unexpected exact match. The first silently returned success, and the
> second crashed the kernel. Both now both log an error and return -EUCLEAN.
>
> Adarsh Das (2):
> btrfs: handle unexpected exact match in btrfs_set_inode_index_count()
> btrfs: replace BUG() with error handling in __btrfs_balance()

Added to for-next, thanks.