Skip to content
Commit cd2d727f authored by AKASHI Takahiro's avatar AKASHI Takahiro Committed by Tom Rini
Browse files

fs: fat: allocate a new cluster for root directory of fat32



Contrary to fat12/16, fat32 can have root directory at any location
and its size can be expanded.
Without this patch, root directory won't grow properly and so we will
eventually fail to add files under root directory. Please note that this
can happen even if you delete many files as deleted directory entries
are not reclaimed but just marked as "deleted" under the current
implementation.

Signed-off-by: default avatarAKASHI Takahiro <takahiro.akashi@linaro.org>
Tested-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 9c709c7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment