Compare commits

...

1 Commits

Author SHA1 Message Date
Christopher Haster
cb3b83d647 Fixed if vs ifdef condition on LFS_MIGRATE
found by e107steved
2019-08-04 19:21:19 -05:00

2
lfs.c
View File

@@ -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