]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
sessionmap is an object, not a pointer
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 11 Nov 2009 00:44:07 +0000 (16:44 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 11 Nov 2009 00:44:07 +0000 (16:44 -0800)
src/mds/MDS.cc

index 53410ba75de77f0ec44ea703150cbc7d865904b9..53156734279374622db216d8d9a76a1ad21cf47a 100644 (file)
@@ -1084,7 +1084,7 @@ void MDS::stopping_start()
 {
   dout(2) << "stopping_start" << dendl;
 
-  if (mdsmap->get_num_mds() == 1 && !sessionmap->empty()) {
+  if (mdsmap->get_num_mds() == 1 && !sessionmap.empty()) {
     // we're the only mds up!
     dout(0) << "we are the last MDS, and have mounted clients: we cannot flush our journal.  suicide!" << dendl;
     suicide();