summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-04-07 14:49:53 +0800
committerYan, Zheng <zheng.z.yan@intel.com>2013-05-28 13:57:21 +0800
commit30c68218f75b74b8d82b87b1d154e401cfc4199c (patch)
tree900441f8333ff344e518cd6e149992921436093c
parente8497f8087729281ef95b3a37e3f102ebcb35200 (diff)
downloadceph-30c68218f75b74b8d82b87b1d154e401cfc4199c.tar.gz
mds: fix typo in Server::do_rename_rollback
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
-rw-r--r--src/mds/Server.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds/Server.cc b/src/mds/Server.cc
index 42db7ad2bc0..2610f98f9a7 100644
--- a/src/mds/Server.cc
+++ b/src/mds/Server.cc
@@ -7017,7 +7017,7 @@ void Server::do_rename_rollback(bufferlist &rbl, int master, MDRequest *mdr)
}
if (straydn)
- destdn->push_projected_linkage();
+ straydn->push_projected_linkage();
if (target) {
inode_t *ti = NULL;
@@ -7094,7 +7094,7 @@ void Server::do_rename_rollback(bufferlist &rbl, int master, MDRequest *mdr)
void Server::_rename_rollback_finish(Mutation *mut, MDRequest *mdr, CDentry *srcdn,
version_t srcdnpv, CDentry *destdn, CDentry *straydn)
{
- dout(10) << "_rename_rollback_finish" << mut->reqid << dendl;
+ dout(10) << "_rename_rollback_finish " << mut->reqid << dendl;
if (straydn) {
straydn->get_dir()->unlink_inode(straydn);