summaryrefslogtreecommitdiffstats
path: root/src/librbd/journal/DemoteRequest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librbd/journal/DemoteRequest.cc')
-rw-r--r--src/librbd/journal/DemoteRequest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librbd/journal/DemoteRequest.cc b/src/librbd/journal/DemoteRequest.cc
index c41961d73ba..d51f777efe9 100644
--- a/src/librbd/journal/DemoteRequest.cc
+++ b/src/librbd/journal/DemoteRequest.cc
@@ -131,7 +131,7 @@ void DemoteRequest<I>::append_event() {
CephContext *cct = m_image_ctx.cct;
ldout(cct, 20) << dendl;
- EventEntry event_entry{DemoteEvent{}, ceph_clock_now()};
+ EventEntry event_entry{DemotePromoteEvent{}, {}};
bufferlist event_entry_bl;
::encode(event_entry, event_entry_bl);