From: Samuel Just Date: Sat, 1 Mar 2014 22:12:09 +0000 (-0800) Subject: MOSDECSubOpWrite: drop transaction, log_entries in clear_buffers X-Git-Tag: v0.78~106^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d4118e15a35bebf57fce4ac151a671f30f06a230;p=ceph.git MOSDECSubOpWrite: drop transaction, log_entries in clear_buffers Signed-off-by: Samuel Just --- diff --git a/src/messages/MOSDECSubOpWrite.h b/src/messages/MOSDECSubOpWrite.h index 02e536858244..a47bcef1f19e 100644 --- a/src/messages/MOSDECSubOpWrite.h +++ b/src/messages/MOSDECSubOpWrite.h @@ -60,6 +60,11 @@ public: << " " << op; out << ")"; } + + void clear_buffers() { + op.t = ObjectStore::Transaction(); + op.log_entries.clear(); + } }; #endif