diff --git a/bd/lfs_emubd.c b/bd/lfs_emubd.c index 3f6183c9..a734bc2c 100644 --- a/bd/lfs_emubd.c +++ b/bd/lfs_emubd.c @@ -531,6 +531,7 @@ int lfs_emubd_sync(const struct lfs_config *cfg) { // emulate out-of-order writes? reset first write, writes // cannot be out-of-order across sync if (bd->cfg->powerloss_behavior == LFS_EMUBD_POWERLOSS_OOO) { + lfs_emubd_decblock(bd->ooo_data); bd->ooo_block = -1; bd->ooo_data = NULL; }