diff --git a/src/clone.rs b/src/clone.rs index ea764f019e..67eeb9a99c 100644 --- a/src/clone.rs +++ b/src/clone.rs @@ -71,7 +71,7 @@ pub fn clone( 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(()) })