forked from Imagelibrary/littlefs
Tweaked lfsr_mtree_traversal_next to no longer write the mtree/mroot
This was a cludge due to needing lfs->mtree initialized to traverse the mtree, the assumption being that future traversals should strictly update the mtree/mroot to the existing state. Moving code around (and adopting an actual state machine, which will be needed for btree traversal) made this no longer necessary. Now the mtree/mroot is only initialized in lfsr_mountinited, as it should be.
This commit is contained in: