Message ID | 1349264412-31444-1-git-send-email-zheng.z.yan@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 8b02b8b..32c9e36 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -8288,8 +8288,7 @@ void MDCache::reintegrate_stray(CDentry *straydn, CDentry *rdn) dout(10) << "reintegrate_stray " << *straydn << " into " << *rdn << dendl; // rename it to another mds. - filepath src; - straydn->make_path(src); + filepath src(straydn->get_name(), straydn->get_dir()->get_inode()->ino()); filepath dst; rdn->make_path(dst);