]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix journal offset types
authorSage Weil <sage@newdream.net>
Thu, 14 Apr 2011 02:01:15 +0000 (19:01 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 15 Apr 2011 04:17:47 +0000 (21:17 -0700)
Always uint64_t!

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/CInode.h
src/mds/events/EMetaBlob.h

index 73e693b63194627f615321e73628c5becaebfc34..54f7ef119ae01e0c6c4e787503abd723c6c65e0b 100644 (file)
@@ -219,7 +219,7 @@ public:
   }
   snapid_t get_oldest_snap();
 
-  loff_t last_journaled;       // log offset for the last time i was journaled
+  uint64_t last_journaled;       // log offset for the last time i was journaled
   //loff_t last_open_journaled;  // log offset for the last journaled EOpen
   utime_t last_dirstat_prop;
 
index 4760e5040a07002e17da9c4633d8005ba0cd2d8b..35e762eb14fa0dc48759b60a4e2297049b7c97b6 100644 (file)
@@ -428,7 +428,7 @@ private:
 
 
   // soft stateadd
-  off_t last_subtree_map;
+  uint64_t last_subtree_map;
   uint64_t my_offset;
 
   // for replay, in certain cases