]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: reuse deleted directory entries
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 22 Nov 2020 10:54:22 +0000 (11:54 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:14:59 +0000 (09:14 +0100)
commit3049a5106c95781663202c626d2e0f56fa2c6646
tree3671fd2cd9a064841562113bbd49172be433cf45
parent32a5f887c48e54d0842eef6af63534fd1f6001d7
fs: fat: reuse deleted directory entries

When creating new directory entries try to reuse entries marked as deleted.

In fill_dir_slot() do not allocate new clusters as this has already been
done in fat_find_empty_dentries().

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/fat/fat_write.c