Skip to content

Commit

Permalink
MOSDECSubOpWrite: drop transaction, log_entries in clear_buffers
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Just <[email protected]>
  • Loading branch information
Samuel Just committed Mar 1, 2014
1 parent 718cda6 commit d4118e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/messages/MOSDECSubOpWrite.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ class MOSDECSubOpWrite : public Message {
<< " " << op;
out << ")";
}

void clear_buffers() {
op.t = ObjectStore::Transaction();
op.log_entries.clear();
}
};

#endif

0 comments on commit d4118e1

Please sign in to comment.