]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: call set_name() only once
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 22 Nov 2020 18:19:39 +0000 (19:19 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:14:59 +0000 (09:14 +0100)
commit57b745e2387a7dafd2d29004351cdd3ffffcc5b9
tree2b2a65f6a9ebc76bb4f84256dd4ac9bdb20f63f8
parenta343249bef2faaf256fee2bf921d95cf0f44f367
fs: fat: call set_name() only once

In set_name() we select the short name. Once this is correctly implemented
this will be a performance intensive operation because we need to check
that the name does not exist yet. So set_name should only be called once.

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