fs: fat: assign rootdir sector when accessing root directory
authorThomas RIENOESSL <thomas.rienoessl@bachmann.info>
Tue, 13 Nov 2018 13:00:59 +0000 (14:00 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 20 Nov 2018 17:35:35 +0000 (12:35 -0500)
commita68b0e11ea774492713a65d9fd5bb525fcaefff3
tree0403cedae741708dc0393a6297fb65e1a480cea2
parent2fa77bd12533e29e1b0f1742f66f258700715d52
fs: fat: assign rootdir sector when accessing root directory

This fixes problems accessing drives formated under
Windows as FAT16.

Signed-off-by: Thomas RIENOESSL <thomas.rienoessl@bachmann.info>
[trini: Rebase on top of f528c140c801]
Signed-off-by: Tom Rini <trini@konsulko.com>
fs/fat/fat.c