]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
class: fix class storage
authorYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 21 May 2009 23:55:16 +0000 (16:55 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Thu, 21 May 2009 23:55:16 +0000 (16:55 -0700)
src/mon/ClassMonitor.cc

index 169ce69d415c39faf37d122cfe52dc085b763290..9d376899892dd3114c3cc96bc0ebfa560bb56588 100644 (file)
@@ -298,9 +298,9 @@ bool ClassMonitor::prepare_command(MMonCommand *m)
       dout(0) << "payload.length=" << m->get_data().length() << dendl;
       impl.stamp = g_clock.now();
       info.name = name;
-      info.version = ver;
+      info.version = cv;
       /* store_impl(info, impl); */
-      dout(0) << "stored class " << name << " v" << ver << dendl;
+      dout(0) << "stored class " << name << " v" << info.version << dendl;
       ClassLibraryIncremental inc;
       ::encode(impl, inc.impl);
       ::encode(info, inc.info);