diff options
| author | Marek Vasut <marex@denx.de> | 2025-04-13 10:55:04 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-04-21 11:07:04 -0600 |
| commit | e5cbc3d2874ff5ec80f4a5c92b5db61769670d5f (patch) | |
| tree | 2aecec29ff8c292281bcd11318411dc33c1db46f /include | |
| parent | 1761c298afd53423377fad95ebce203e46c084de (diff) | |
fs: exfat: Implement trivial 'rename' support
Implement exfat_fs_rename() to rename or move files. This is used
by the 'mv' generic FS interface command. The rename implementation
for other filesystems was added recently and was not part of exfat
porting layer due to merge issue, which made 'mv' command crash,
fix this by adding the missing implementation.
Fixes: b86a651b646c ("fs: exfat: Add U-Boot porting layer")
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/exfat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/exfat.h b/include/exfat.h index 7e43beeb348..75fce5b6566 100644 --- a/include/exfat.h +++ b/include/exfat.h @@ -20,5 +20,6 @@ int exfat_fs_unlink(const char *filename); int exfat_fs_mkdir(const char *dirname); int exfat_fs_write(const char *filename, void *buf, loff_t offset, loff_t len, loff_t *actwrite); +int exfat_fs_rename(const char *old_path, const char *new_path); #endif /* _EXFAT_H */ |
