On Sat, Apr 13, 2019 at 11:50:49PM +0200, Pierre Bourdon wrote:

> ROOT_ITEMs in btrfs are referenced without knowing their actual "offset"
> value. To perform these searches using only two items from the key, the
> btrfs driver uses a special "btrfs_search_tree_key_type" function.
> 
> The algorithm used by that function to transform a 3-tuple search into a
> 2-tuple search was subtly broken, leading to items not being found if
> they were the first in their tree node.
> 
> This commit fixes btrfs_search_tree_key_type to properly behave in these
> situations.
> 
> Signed-off-by: Pierre Bourdon <delr...@gmail.com>
> Cc: Marek Behun <marek.be...@nic.cz>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to