]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix auth restart decoding
authorSage Weil <sage@newdream.net>
Mon, 1 Feb 2010 21:34:09 +0000 (13:34 -0800)
committerSage Weil <sage@newdream.net>
Mon, 1 Feb 2010 21:34:58 +0000 (13:34 -0800)
src/mon/AuthMonitor.cc

index e1f7247b3576afca2ce0d1f39293eb19bdd62c95..e1821dd69d5e751fe900e11cf301ad6aacaf1ec5 100644 (file)
@@ -247,6 +247,8 @@ void AuthMonitor::init()
     if (v) {
       dout(0) << "AuthMonitor::init() startup: loading summary e" << v << dendl;
       bufferlist::iterator p = latest.begin();
+      __u8 v;
+      ::decode(v, p);
       ::decode(max_global_id, p);
       ::decode(mon->key_server, p);
     }