summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-11-28 21:16:31 -0800
committerSage Weil <sage@inktank.com>2012-11-29 17:20:27 -0800
commit41ef9bbbe87c5a6137a16f33a29eec4612b4980a (patch)
tree9d71f7d304c6b74046a55bb99f186ba67ab7214f
parent44bc687d98f931b15538805d3923492d62dca779 (diff)
downloadceph-41ef9bbbe87c5a6137a16f33a29eec4612b4980a.tar.gz
mds: drop redundant mdr->committing = true
journal_and_reply() does this. Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mds/Server.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mds/Server.cc b/src/mds/Server.cc
index 157f5c1d150..d5548a8493c 100644
--- a/src/mds/Server.cc
+++ b/src/mds/Server.cc
@@ -3998,9 +3998,6 @@ void Server::_link_remote(MDRequest *mdr, bool inc, CDentry *dn, CInode *targeti
if (mdr->more()->dst_reanchor_atid)
le->metablob.add_table_transaction(TABLE_ANCHOR, mdr->more()->dst_reanchor_atid);
- // mark committing (needed for proper recovery)
- mdr->committing = true;
-
journal_and_reply(mdr, targeti, dn, le, new C_MDS_link_remote_finish(mds, mdr, inc, dn, targeti));
}