On Sun, 02 Aug 2026 09:35:16 +0000, Cole Munz wrote:
> As agreed on the v1 thread, the fix and the cleanups are now separate
> patches:
>
> - patch 1 is the fix in the v1 shape
> - patch 2 makes btrfs_search_slot() release the path on error like
> the kernel version does. That is where the btrfs_size() leak came
> from. Suggested by Qu.
> - patch 3 is the dedup Alexey asked about. One helper shared by
> btrfs_readdir() and btrfs_size().
>
> [...]
Applied to u-boot/main, thanks!
[1/3] fs: btrfs: report file sizes from readdir
commit: 1cf825afd0d7ebb4857002833658574efbef6626
[2/3] fs: btrfs: release the path when btrfs_search_slot() fails
commit: 1a5c8af2d4e4b4029739eb8787ce259d74977dfd
[3/3] fs: btrfs: deduplicate the inode size lookup
commit: a11f8659f451c5601bac6fdf5b48594d347db38d
--
Tom