WIP Changed deorphan to only use one pass for pred fix

This commit is contained in:
Christopher Haster
2018-08-13 09:03:13 -05:00
parent 4264b28aa3
commit 9819ba24e8
2 changed files with 82 additions and 80 deletions

9
lfs.h
View File

@@ -302,8 +302,13 @@ typedef union lfs_global {
struct {
lfs_block_t movepair[2];
uint16_t moveid;
bool deorphaned;
} s;
uint8_t deorphaned;
} l;
struct {
lfs_block_t movepair[2];
uint16_t moveid;
uint8_t orphans;
} g;
} lfs_global_t;
typedef struct lfs_mdir {