Re: [PATCH v3 0/3] fs: btrfs: report file sizes from readdir

Tom Rini <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <178639521117.1450255.12065207244142362485.b4-ty__31826.0359623068$1786395231$gmane$org@konsulko.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.