]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Journaler: redefine states to make them all unique.
authorGreg Farnum <gregf@hq.newdream.net>
Mon, 22 Nov 2010 18:54:54 +0000 (10:54 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Thu, 6 Jan 2011 18:35:24 +0000 (10:35 -0800)
Apparently PROBING and ACTIVE being identical was a mistake.

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
src/osdc/Journaler.h

index 63b289ec40813fa05100ec8d385ef7d60f79735e..178db3ad4bb446c36b59e5cbeac0cd812dee3cda 100644 (file)
@@ -129,9 +129,9 @@ private:
   static const int STATE_UNDEF = 0;
   static const int STATE_READHEAD = 1;
   static const int STATE_PROBING = 2;
-  static const int STATE_ACTIVE = 2;
-  static const int STATE_REREADHEAD = 3;
-  static const int STATE_REPROBING = 4;
+  static const int STATE_ACTIVE = 3;
+  static const int STATE_REREADHEAD = 4;
+  static const int STATE_REPROBING = 5;
 
   int state;
   int error;