Skip to content
Commit 09dd8c74 authored by Manuel Argüelles's avatar Manuel Argüelles Committed by Carles Cufi
Browse files

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: default avatarManuel Arguelles <manuel.arguelles@nxp.com>
parent a0ffaa76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment