Skip to content

lfs_file_open(O_CREAT), Error from lfs_dir_commit is hidden #284

Open
@ujeropoc

Description

@ujeropoc

https://github.com/ARMmbed/littlefs/blob/494dd6673d008c03e3199b24af7bff0fe82017f1/lfs.c#L2366

lfs_dir_commit() returns an error, (LFS_ERR_IO in my case, because block write failed) and this is hidden behind a NAMETOOLONG which is completle wrong in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs fixwe know what is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions