Message ID | 1357290140-17044-25-git-send-email-zheng.z.yan@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 8d05a37..119af98 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -5228,6 +5228,7 @@ void Server::handle_client_rename(MDRequest *mdr) while (destbase != srcbase) { desttrace.insert(desttrace.begin(), destbase->get_projected_parent_dn()); + rdlocks.insert(&desttrace[0]->lock); dout(10) << "rename prepending desttrace with " << *desttrace[0] << dendl; destbase = destbase->get_projected_parent_dn()->get_dir()->get_inode(); }