]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: move SnapSetContext to osd_internal_types
authorSage Weil <sage@redhat.com>
Wed, 22 Feb 2017 17:51:36 +0000 (11:51 -0600)
committerSage Weil <sage@redhat.com>
Fri, 5 May 2017 17:38:11 +0000 (13:38 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/osd_internal_types.h
src/osd/osd_types.h

index d754109ad58a724a68cc9fe5711f697376ba2e2d..924a8be0c378b24775d047004e0bc877295dbf01 100644 (file)
   * replicas ack.
   */
 
+struct SnapSetContext {
+  hobject_t oid;
+  SnapSet snapset;
+  int ref;
+  bool registered : 1;
+  bool exists : 1;
+
+  explicit SnapSetContext(const hobject_t& o) :
+    oid(o), ref(0), registered(false), exists(true) { }
+};
+
 struct ObjectContext;
 
 struct ObjectState {
index dcbce601dd02f17ad999d7074045725635ec356d..8d4209a40428165ffe7a5660bfe93aa9a6ce1b90 100644 (file)
@@ -4538,19 +4538,6 @@ struct object_info_t {
 };
 WRITE_CLASS_ENCODER_FEATURES(object_info_t)
 
-struct SnapSetContext {
-  hobject_t oid;
-  SnapSet snapset;
-  int ref;
-  bool registered : 1;
-  bool exists : 1;
-
-  explicit SnapSetContext(const hobject_t& o) :
-    oid(o), ref(0), registered(false), exists(true) { }
-};
-
-
-
 ostream& operator<<(ostream& out, const object_info_t& oi);