author | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Tue, 24 Nov 2020 20:04:07 +0000 (21:04 +0100) | ||
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | |
Thu, 10 Dec 2020 08:14:58 +0000 (09:14 +0100) | ||
commit | c5924118c03dc8db30d633de98afe6ad6eb7f277 | |
tree | 36f5e0411cab19ffdfeb13e4cd221cc3cef49f42 | tree | snapshot (tar.xz tar.gz zip) |
parent | 03f1f78a9b44b5fd6fc09faf81639879d2d0f85f | commit | diff |
fs: fat: correct first cluster for '..'
The FAT specification [1] requires that for a '..' directory entry pointing
to the root directory the fields DIR_FstClusHi and DIR_FstClusLo are 0.
[1] Microsoft FAT Specification, Microsoft Corporation, August 30 2005
Fixes: 31a18d570d96 ("fs: fat: support mkdir")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
The FAT specification [1] requires that for a '..' directory entry pointing
to the root directory the fields DIR_FstClusHi and DIR_FstClusLo are 0.
[1] Microsoft FAT Specification, Microsoft Corporation, August 30 2005
Fixes: 31a18d570d96 ("fs: fat: support mkdir")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
fs/fat/fat_write.c | diff | blob | history |