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:
Christopher Haster
2023-10-05 18:02:35 -05:00
parent 4996b8419d
commit 881c46f562

1031
lfs.c

File diff suppressed because it is too large Load Diff