commit | 09dd8c74ae776591f6f695af330939fd6a629978 | [log] [tgz] |
---|---|---|
author | Manuel Arguelles <manuel.arguelles@nxp.com> | Wed Mar 22 18:03:02 2023 +0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Apr 04 18:22:10 2023 +0200 |
tree | 2efa4beeb96b9903b191ec1aec0833503cbc9cc9 | |
parent | a0ffaa763cf2d63eea2725bac8da4ff82a681c60 [diff] |
littlefs: translate error code when mount fails When lfs mount fails and there is no formatting requested, the return code must be translated to errno before being passed to the application layer. Additionally, only log a warning that the FS will be formatted, when the system is not read-only. Fixes #56378 Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>