]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLog: drop unused reply_ctx() variant
authorSage Weil <sage@redhat.com>
Sun, 29 Sep 2019 16:25:32 +0000 (11:25 -0500)
committerSage Weil <sage@redhat.com>
Sun, 29 Sep 2019 16:25:32 +0000 (11:25 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h

index 033ee91fb26b3ffc0dcbf0cd47a2798d7c55a4c5..684deab2ae66c6b78a3f0a0d96472926cb269d08 100644 (file)
@@ -3976,13 +3976,6 @@ void PrimaryLogPG::reply_ctx(OpContext *ctx, int r)
   close_op_ctx(ctx);
 }
 
-void PrimaryLogPG::reply_ctx(OpContext *ctx, int r, eversion_t v, version_t uv)
-{
-  if (ctx->op)
-    osd->reply_op_error(ctx->op, r, v, uv);
-  close_op_ctx(ctx);
-}
-
 void PrimaryLogPG::log_op_stats(const OpRequest& op,
                                const uint64_t inb,
                                const uint64_t outb)
index be15ee20fa3007ad9bd85d9bf25fde735d58b5ca..9ad8fa8c592d574bb797a4a87962e04cae623d97 100644 (file)
@@ -1183,7 +1183,6 @@ protected:
   void execute_ctx(OpContext *ctx);
   void finish_ctx(OpContext *ctx, int log_op_type, int result=0);
   void reply_ctx(OpContext *ctx, int err);
-  void reply_ctx(OpContext *ctx, int err, eversion_t v, version_t uv);
   void make_writeable(OpContext *ctx);
   void log_op_stats(const OpRequest& op, uint64_t inb, uint64_t outb);