From cb3b83d6478c232b0ef3af149ac784020df5289a Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Sun, 4 Aug 2019 19:21:19 -0500 Subject: [PATCH] Fixed if vs ifdef condition on LFS_MIGRATE found by e107steved --- lfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs.c b/lfs.c index e7c4dae..7a91032 100644 --- a/lfs.c +++ b/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