Re: [PATCH v2 0/2] fs: btrfs: add support for readdir

Tom Rini <[email protected]>
Newsgroups org.kernel.vger.linux-btrfs,org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
On Fri, 26 Jun 2026 19:18:20 +0400, Alexey Charkov wrote:

> Btrfs in U-boot currently uses a custom callback for ls and doesn't expose
> the standard opendir/readdir/closedir interface, making it harder to use
> in generic code. One area where this would be useful is in discovering BLS
> type 1 entries [1] on a Btrfs filesystem.
> 
> Add support for the standard interface, and implement ls in terms of it.
> 
> [...]

Applied to u-boot/master, thanks!

[1/2] fs: btrfs: implement opendir(), readdir() and closedir()
      commit: 5f064aef5d766e291982f9cba6dc728dcdb53868
[2/2] fs: btrfs: use fs_ls_generic() and drop custom implementation
      commit: 31cf3f177823362a42bf4630ec85370ea768ddf1
-- 
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.