[PATCH 0/4] fs: fat: code clean up

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Jan 31 00:09:49 CET 2021


With the series paths with trailing periods like '/foo/a...' do no lead
to creating files and directories with invalid names.

Duplicate code is carved out into a new function.

Patch 1/4 is resent to indicate import sequence.

Heinrich Schuchardt (4):
  fs: fat: usage basename in file_fat_write_at, fat_mkdir
  fs: fat: must not write directory '.' and '..'
  fs: fat: carve out fat_create_dir_entry()
  fs: fat: remove trailing periods from long name

 fs/fat/fat_write.c | 131 ++++++++++++++++++++-------------------------
 1 file changed, 57 insertions(+), 74 deletions(-)

--
2.29.2



More information about the U-Boot mailing list