Revert "fs: fat: assign rootdir sector when accessing root directory"
authorTom Rini <trini@konsulko.com>
Fri, 11 Jan 2019 14:54:44 +0000 (09:54 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 11 Jan 2019 15:15:42 +0000 (10:15 -0500)
commitd3035b856027cb9621a252aafc6316b3724d6294
tree0b1d2df2096cbc6a9cc1f339bebd13b57fb0fea0
parentb6a6238f0455db4ad9f447a4424cb5f56e47cd60
Revert "fs: fat: assign rootdir sector when accessing root directory"

This particular commit is causing a regression on stih410-b2260 and
other platforms when reading from FAT16.  Noting that I had rebased the
original fix from Thomas onto then-current master, there is also
question from Akashi-san if the change is still needed after other FAT
fixes that have gone in.

This reverts commit a68b0e11ea774492713a65d9fd5bb525fcaefff3.

Reported-by: Patrice Chotard <patrice.chotard@st.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Thomas RIENOESSL <thomas.rienoessl@bachmann.info>
Signed-off-by: Tom Rini <trini@konsulko.com>
fs/fat/fat.c