Message ID | 1349168152-13281-8-git-send-email-zheng.z.yan@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/mds/Migrator.cc b/src/mds/Migrator.cc index 5f727a9..98ab4e1 100644 --- a/src/mds/Migrator.cc +++ b/src/mds/Migrator.cc @@ -640,7 +640,8 @@ void Migrator::export_dir(CDir *dir, int dest) return; } - if (!dir->inode->is_base() && dir->inode->get_parent_dir()->get_inode()->is_stray()) { + if (!dir->inode->is_base() && + dir->inode->get_parent_dir()->ino() == MDS_INO_MDSDIR(mds->get_nodeid())) { dout(7) << "i won't export anything in stray" << dendl; return; }