fs: fat: pass shortname to fill_dir_slot
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 21 Nov 2020 07:32:50 +0000 (08:32 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:14:59 +0000 (09:14 +0100)
commita343249bef2faaf256fee2bf921d95cf0f44f367
treede4eca7525c12c0ac6a3cfb097a45663c98bd4f7
parent28cef9ca2e86d90b6f1266a7eefa8557ae0ba144
fs: fat: pass shortname to fill_dir_slot

Currently we pass the short name via the directory iterator.
Pass it explicitly as a parameter.

This removes the requirement to set the short name in the iterator before
writing the long name.

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