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

Tom Rini trini at konsulko.com
Sat Jul 11 02:17:26 CEST 2026


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




More information about the U-Boot mailing list