fs: fat: remove trailing periods from long name
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 30 Jan 2021 13:12:10 +0000 (14:12 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 3 Feb 2021 10:41:02 +0000 (11:41 +0100)
commit3ecc5277f42eba5703901671f218a7f40d5ed45f
tree6c58617a9862b9bd7a0adaf63239e72c92afa691
parent0be286cd6de995d6249508ebde6cfb8066045d77
fs: fat: remove trailing periods from long name

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@gmx.de>
fs/fat/fat_write.c