]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: rename finish_copy -> finish_copyfrom
authorGreg Farnum <greg@inktank.com>
Tue, 1 Oct 2013 23:42:55 +0000 (16:42 -0700)
committerGreg Farnum <greg@inktank.com>
Wed, 2 Oct 2013 04:52:11 +0000 (21:52 -0700)
Signed-off-by: Greg Farnum <greg@inktank.com>
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h

index 35e28c18361b866940899d5a3573481aeaeab7a3..6118a25d510c882b1c64c39382f6f68e72a61f1d 100644 (file)
@@ -3776,7 +3776,7 @@ int ReplicatedPG::do_osd_ops(OpContext *ctx, vector<OSDOp>& ops)
          // finish
          result = ctx->copy_cb->get_result();
          if (result >= 0) { //success!
-           result = finish_copy(ctx);
+           result = finish_copyfrom(ctx);
          }
        }
       }
@@ -4544,7 +4544,7 @@ void ReplicatedPG::_build_finish_copy_transaction(CopyOpRef cop,
   }
 }
 
-int ReplicatedPG::finish_copy(OpContext *ctx)
+int ReplicatedPG::finish_copyfrom(OpContext *ctx)
 {
   ObjectState& obs = ctx->new_obs;
   CopyFromCallback *cb = static_cast<CopyFromCallback*>(ctx->copy_cb);
index d5ef9b26ca3f1434f9a809cf5e01f60ad84ea8d3..f7e677f7b8470d815ab38dbaf843aea835383e62 100644 (file)
@@ -810,7 +810,7 @@ protected:
   void _copy_some(ObjectContextRef obc, CopyOpRef cop);
   void _build_finish_copy_transaction(CopyOpRef cop,
                                       ObjectStore::Transaction& t);
-  int finish_copy(OpContext *ctx);
+  int finish_copyfrom(OpContext *ctx);
   void cancel_copy(CopyOpRef cop);
   void cancel_copy_ops();