]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: support unlink
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 11 Sep 2018 06:59:14 +0000 (15:59 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:30 +0000 (21:55 +0200)
commitf8240ce95d64dbe3a1eb6d5001ba23107c7e7cfe
tree52baacf53a486ac302d6f26eca8b222b3b8a06ea
parente2519daf5cef63c19ed16ead74e3525f951c24e0
fs: fat: support unlink

In this patch, unlink support is added to FAT file system.
A directory can be deleted only if it is empty.

In this implementation, only a directory entry for a short file name
will be removed. So entries for a long file name can and should be
reclaimed with fsck.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
fs/fat/fat_write.c
fs/fs.c
include/fat.h