From: Greg Farnum Date: Wed, 11 Nov 2009 00:44:07 +0000 (-0800) Subject: sessionmap is an object, not a pointer X-Git-Tag: v0.18~121^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91d10bb9a9b793badd15248b10e0ffad91fcf657;p=ceph.git sessionmap is an object, not a pointer --- diff --git a/src/mds/MDS.cc b/src/mds/MDS.cc index 53410ba75de7..531567342793 100644 --- a/src/mds/MDS.cc +++ b/src/mds/MDS.cc @@ -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();