fs: fat: first dentry of long name in FAT iterator
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 19 Nov 2020 06:44:08 +0000 (07:44 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:15:00 +0000 (09:15 +0100)
commit89735b44c4cee895b416f005468370d2943fa8d8
treeed3cdbe60acdb23d583193fca8901ba04c060219
parent4a593dd0c5a1e1af40f47758f2aa1a4074a4ccdc
fs: fat: first dentry of long name in FAT iterator

A long name is split over multiple directory entries. When deleting a file
with a long name we need the first directory entry to be able to delete the
whole chain.

Add the necessary fields to the FAT iterator:

* cluster of first directory entry
* address of first directory entry
* remaining entries in cluster

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