// finish export (adjust local cache state)
int num_dentries = 0;
C_ContextsBase<MDSInternalContextBase, MDSInternalContextGather> *fin = new C_ContextsBase<MDSInternalContextBase, MDSInternalContextGather>(g_ceph_context);
- finish_export_dir(dir, ceph_clock_now(g_ceph_context), it->second.peer,
+ finish_export_dir(dir, ceph_clock_now(), it->second.peer,
it->second.peer_imported, fin->contexts, &num_dentries);
- dir->add_waiter(CDir::WAIT_UNFREEZE, fin);
-
- // unfreeze
- dout(7) << "export_finish unfreezing" << dendl;
- dir->unfreeze_tree();
// unpin bounds
set<CDir*> bounds;