From 7e92eac91b9e08e306c9433a629da80e00128a39 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Tue, 22 Jan 2019 18:35:12 -0800 Subject: [PATCH] mds: fix MDSGather inheritance It is no longer needlessly a MDSInternalContext. Signed-off-by: Patrick Donnelly --- src/mds/MDSContext.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/mds/MDSContext.h b/src/mds/MDSContext.h index 119b3141906f..6b9bd59e8450 100644 --- a/src/mds/MDSContext.h +++ b/src/mds/MDSContext.h @@ -218,17 +218,8 @@ protected: MDSRank *get_mds() override; }; - -class MDSGather : public C_GatherBase -{ -public: - MDSGather(CephContext *cct, MDSInternalContextBase *onfinish) : C_GatherBase(cct, onfinish) {} -protected: - MDSRank *get_mds() override {return NULL;} -}; - - -typedef C_GatherBuilderBase MDSGatherBuilder; +using MDSGather = C_GatherBase; +using MDSGatherBuilder = C_GatherBuilderBase; using MDSContextFactory = ContextFactory; -- 2.47.3