~aleteoryx/muditaos

43526432f4a2f4d16e3f200b4ee704f0ba45d3ec — Jakub Pyszczak 5 years ago f8c83ce
[EGD-5035] Fix error translation fs

Quickfix for error translation issue in new filesystem.
1 files changed, 2 insertions(+), 0 deletions(-)

M module-vfs/drivers/src/thirdparty/fatfs/ff_glue.cpp
M module-vfs/drivers/src/thirdparty/fatfs/ff_glue.cpp => module-vfs/drivers/src/thirdparty/fatfs/ff_glue.cpp +2 -0
@@ 219,6 219,8 @@ namespace purefs::fs::drivers::ffat::internal
            }
            // Finally translate error
            switch (ret) {
            case 0:
                return RES_OK;
            case -EINVAL:
                return RES_PARERR;
            default: