mirror of
https://github.com/eledio-devices/thirdparty-littlefs.git
synced 2025-11-01 16:14:13 +01:00
Compare commits
1 Commits
fix-migrat
...
fix-lfs-mi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb3b83d647 |
2
lfs.c
2
lfs.c
@@ -1500,7 +1500,7 @@ static int lfs_dir_compact(lfs_t *lfs,
|
||||
end = begin;
|
||||
}
|
||||
}
|
||||
#if LFS_MIGRATE
|
||||
#ifdef LFS_MIGRATE
|
||||
} else if (lfs_pair_cmp(dir->pair, lfs->root) == 0 && lfs->lfs1) {
|
||||
// we can't relocate our root during migrations, as this would
|
||||
// cause the superblock to get updated, which would clobber v1
|
||||
|
||||
Reference in New Issue
Block a user