Files
u-boot/fs/ext4l
Simon Glass 60788f5431 ext4l: Add ls command support
Implement directory listing (ls) for the ext4l filesystem driver. This
includes path resolution with symlink following (limited to 8 levels to
prevent loops).

Add ext4l_ls() which uses ext4_lookup() for path resolution and
ext4_readdir() for directory enumeration. The dir_context actor callback
formats and prints each directory entry.

Export ext4_lookup() from namei.c and add declarations to ext4.h.

Add test_ls to the Python test suite, which creates a test file using
debugfs and verifies it appears in the directory listing with the
correct size.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>

Cover-letter:
ext4l: Add support for listing directoties (Part H)
This series adds directory-listing support to the ext4l filesystem
driver. It exports a few required functions from the Linux ext4 code,
fixes the dir_emit() stub to properly call the actor callback, and
implements ext4l_ls() with path resolution and symlink following.
END

Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-22 16:49:47 -07:00
..
2025-12-16 13:19:59 +00:00
2025-12-16 13:19:59 +00:00
2025-12-22 16:49:47 -07:00
2025-12-21 11:36:34 +00:00
2025-12-21 14:15:36 -07:00
2025-12-21 11:36:34 +00:00
2025-12-21 11:36:34 +00:00
2025-12-20 14:09:14 -07:00
2025-12-22 16:49:47 -07:00
2025-12-21 14:15:36 -07:00
2025-12-21 14:15:36 -07:00
2025-12-22 16:49:47 -07:00
2025-12-21 11:36:34 +00:00
2025-12-21 11:36:34 +00:00
2025-12-21 14:15:36 -07:00
2025-12-21 11:36:34 +00:00
2025-12-16 13:19:59 +00:00
2025-12-20 14:09:14 -07:00
2025-12-21 11:36:34 +00:00
2025-12-16 13:19:59 +00:00