mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
fs: fat: support mkdir
In this patch, mkdir support is added to FAT file system. A newly created directory contains only "." and ".." entries. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
3a10e07234
commit
31a18d570d
3
fs/fs.c
3
fs/fs.c
@@ -164,14 +164,15 @@ static struct fstype_info fstypes[] = {
|
||||
.read = fat_read_file,
|
||||
#ifdef CONFIG_FAT_WRITE
|
||||
.write = file_fat_write,
|
||||
.mkdir = fat_mkdir,
|
||||
#else
|
||||
.write = fs_write_unsupported,
|
||||
.mkdir = fs_mkdir_unsupported,
|
||||
#endif
|
||||
.uuid = fs_uuid_unsupported,
|
||||
.opendir = fat_opendir,
|
||||
.readdir = fat_readdir,
|
||||
.closedir = fat_closedir,
|
||||
.mkdir = fs_mkdir_unsupported,
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_FS_EXT4
|
||||
|
Reference in New Issue
Block a user