@@ -5924,7 +5924,7 @@ void MDCache::handle_cache_expire(MCacheExpire *m)
(parent_dir->is_auth() && parent_dir->is_exporting() &&
((migrator->get_export_state(parent_dir) == Migrator::EXPORT_WARNING &&
migrator->export_has_warned(parent_dir,from)) ||
- migrator->get_export_state(parent_dir) == Migrator::EXPORT_EXPORTING))) {
+ migrator->get_export_state(parent_dir) >= Migrator::EXPORT_EXPORTING))) {
// not auth.
dout(7) << "delaying nonauth|warned expires for " << *parent_dir << dendl;
assert(parent_dir->is_frozen_tree_root());