From e1675f3235309de9ba083b2200d9aa9788dc6036 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 17 Nov 2010 16:33:41 -0800 Subject: [PATCH] Journaler: set state to STATE_ACTIVE in _finish_probe_end. This was never actually getting set, although it doesn't matter since STATE_ACTIVE and STATE_PROBING are defined to be the same. Signed-off-by: Greg Farnum --- src/osdc/Journaler.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osdc/Journaler.cc b/src/osdc/Journaler.cc index af12e382fb4e0..766b6cffde626 100644 --- a/src/osdc/Journaler.cc +++ b/src/osdc/Journaler.cc @@ -167,6 +167,8 @@ void Journaler::_finish_probe_end(int r, int64_t end) << dendl; } + state = STATE_ACTIVE; + write_pos = flush_pos = ack_pos = safe_pos = end; // done. -- 2.39.5