]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
MOSDECSubOpWrite: drop transaction, log_entries in clear_buffers
authorSamuel Just <sam.just@inktank.com>
Sat, 1 Mar 2014 22:12:09 +0000 (14:12 -0800)
committerSamuel Just <sam.just@inktank.com>
Sat, 1 Mar 2014 22:54:06 +0000 (14:54 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/messages/MOSDECSubOpWrite.h

index 02e5368582445e67d59c63321ec2818c875fdce2..a47bcef1f19e8e3e40c7aa43f1ac221f5bcc281d 100644 (file)
@@ -60,6 +60,11 @@ public:
        << " " << op;
     out << ")";
   }
+
+  void clear_buffers() {
+    op.t = ObjectStore::Transaction();
+    op.log_entries.clear();
+  }
 };
 
 #endif