Files
u-boot/fs/ext4l
Simon Glass 1d4959fde3 ext4l: Add unlink support for file deletion
Implement ext4l_unlink() to delete files from ext4 filesystems. This
enables the 'rm' command to work with ext4l.

The implementation:
- Resolves the parent directory and target file
- Verifies the target is not a directory (use rmdir for that)
- Calls ext4_unlink() to remove the directory entry
- Uses journal transactions for crash safety

Add ext4l_op_ptr() macro to select between ext4l_unlink() and the
fallback based on CONFIG_EXT4_WRITE

Call ext4_commit_super() to ensure the changes are written to disk.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2026-01-01 17:13:59 -07:00
..
2025-12-16 13:19:59 +00:00
2025-12-16 13:19:59 +00:00
2026-01-01 17:13:55 -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
2026-01-01 17:13:59 -07:00
2025-12-21 14:15:36 -07: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-21 14:15:36 -07:00
2026-01-01 17:13:55 -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