Squash allocation log in clone

This commit is contained in:
Jeremy Soller
2025-09-26 09:28:40 -06:00
parent 5622165c92
commit 74582a0917
+1 -1
View File
@@ -71,7 +71,7 @@ pub fn clone<D: Disk, E: Disk>(
clone_at(tx_old, TreePtr::root(), fs, TreePtr::root(), &mut buf)?;
// Squash alloc log
//TODO tx.sync(true)?;
fs.tx(|tx| tx.sync(true))?;
Ok(())
})