[PATCH v2 3/3] fs: fat: remove trailing periods from long name

Simon Glass sjg at chromium.org
Sat Feb 6 17:12:16 CET 2021


On Thu, 4 Feb 2021 at 00:40, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> The FAT32 File System Specification [1] requires leading and trailing
> spaces as well as trailing periods of long names to be ignored.
>
> [1]
>     Microsoft Extensible Firmware Initiative
>     FAT32 File System Specification
>     Version 1.03, December 6, 2000
>     Microsoft Corporation
>     https://www.win.tue.nl/~aeb/linux/fs/fat/fatgen103.pdf
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
>         special treatment of '.' and '..'
> ---
>  fs/fat/fat_write.c | 30 ++++++++++++++++++++++++++++--
>  1 file changed, 28 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list