]> git.baikalelectronics.ru Git - uboot.git/commit
fs: fat: write to non-cluster-aligned root directory
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Fri, 24 May 2019 05:10:35 +0000 (14:10 +0900)
committerTom Rini <trini@konsulko.com>
Tue, 28 May 2019 22:55:08 +0000 (18:55 -0400)
commitc0515fcbf1fa39d4646155b1176e34fda0d5d841
treea938892e7a1130432fe4ba6f4dcc264ff68525cf
parentc37e0cbd51a9e501d990b004a8a9409474fda092
fs: fat: write to non-cluster-aligned root directory

With the commit below, fat now correctly handles a file read under
a non-cluster-aligned root directory of fat12/16.
Write operation should be fixed in the same manner.

Fixes: commit 4a60d3f02277 ("fs: fat: fix reading non-cluster-aligned
       root directory")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Anssi Hannula <anssi.hannula@bitwise.fi>
Tested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
fs/fat/fat_write.c