Skip to content
Commit b852bdd8 authored by Markus Fuchs's avatar Markus Fuchs Committed by Christopher Friedt
Browse files

fs: fat_fs: Fix fs_statvfs when using variable sector sizes



The fs_statvfs function assumes FatFs is configured for a fixed sector
size and therefore may return wrong sector sizes when it is configured
for variable sector sizes instead. Fix that by returning the ssize
variable given in the file system object structure.

Signed-off-by: default avatarMarkus Fuchs <markus.fuchs@ch.sauter-bc.com>
parent d1c0eb1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment