]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd_types::ObjectModDesc: remove claim_append
authorSamuel Just <sjust@redhat.com>
Tue, 27 Sep 2016 20:26:34 +0000 (13:26 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 17 Nov 2016 18:40:17 +0000 (10:40 -0800)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/osd_types.h

index 5ad195c6cfe4b91611de3d4b2785a09809dfffb9..cbb007ace631543ac4019087b41e8fdb50ebda92 100644 (file)
@@ -2622,16 +2622,6 @@ public:
     can_local_rollback = other.can_local_rollback;
     rollback_info_completed = other.rollback_info_completed;
   }
-  void claim_append(ObjectModDesc &other) {
-    if (!can_local_rollback || rollback_info_completed)
-      return;
-    if (!other.can_local_rollback) {
-      mark_unrollbackable();
-      return;
-    }
-    bl.claim_append(other.bl);
-    rollback_info_completed = other.rollback_info_completed;
-  }
   void swap(ObjectModDesc &other) {
     bl.swap(other.bl);