Skip to content

LFS_ERR_INVAL for every Mount  #892

Open
@Aravind0812

Description

@Aravind0812

Currently, I am working on the W25q512 module in stm32. I am writing some data in the file, and then I close the file. After that, the same file mounting failed it returned LFS_ERR_INVAL in ( founding superblock). Close the file and unmount all are successful. My Configuration is

read_size = 16
prog_size = 16
block_size = 4096
block_count = 16384
cache_size = 256
lookahead_size = 16
block_cycles = 500

I got an error here,
// found superblock?
if (lfs_pair_isnull(lfs->root)) {
    err = LFS_ERR_INVAL;
    goto cleanup;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions