Files
u-boot/fs/ext4l
Simon Glass 8eabf8fb91 ext4l: Update symlink to replace existing files
The ext4l_ln() function returned -EEXIST when creating a symlink where
a file already exists. This differs from the old ext4 implementation
which deletes any existing file before creating the symlink (like ln -sf
behaviour).

Update ext4l_ln() to match this behaviour by calling __ext4_unlink() to
remove any existing non-directory file before creating the symlink.
Directories cannot be replaced with symlinks and return -EISDIR.

This allows test_symlink3 to pass.

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