From 0392ddb67060f6da7785da99f0bc391b8e7b2231 Mon Sep 17 00:00:00 2001 From: Somnath Roy Date: Wed, 2 Jul 2014 11:20:29 -0700 Subject: [PATCH] ReplicatedPG: Removed the redundant register_snapset_context call In the get_object_context(), the get_snapset_context is been called and the register_snapset_context is already been invoked from there. This call seems to be redundant. Signed-off-by: Somnath Roy --- src/osd/ReplicatedPG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index bad48726029f..ac715c646fd0 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -7111,7 +7111,6 @@ ObjectContextRef ReplicatedPG::get_object_context(const hobject_t& soid, obc->ssc = get_snapset_context( soid, true, soid.has_snapset() ? attrs : 0); - register_snapset_context(obc->ssc); populate_obc_watchers(obc); -- 2.47.3