]> git.baikalelectronics.ru Git - uboot.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)
commit4488c7794dc41f39300f6b89ed8f8417f624fbbc
tree2b2a65f6a9ebc76bb4f84256dd4ac9bdb20f63f8
parent6fc9999ac64951308dcda90b36f22298b75b71d8
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