diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 9d206c8d6b314d..9f5f011ea20233 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -621,15 +621,18 @@ void PGMonitor::handle_statfs(MonOpRequestRef op) << session->caps << dendl; return; } - MStatfsReply *reply; - - dout(10) << "handle_statfs " << *statfs << " from " << statfs->get_orig_source() << dendl; if (statfs->fsid != mon->monmap->fsid) { - dout(0) << "handle_statfs on fsid " << statfs->fsid << " != " << mon->monmap->fsid << dendl; + dout(0) << "handle_statfs on fsid " << statfs->fsid + << " != " << mon->monmap->fsid << dendl; return; } + MStatfsReply *reply; + + dout(10) << "handle_statfs " << *statfs + << " from " << statfs->get_orig_source() << dendl; + // fill out stfs reply = new MStatfsReply(mon->monmap->fsid, statfs->get_tid(), get_last_committed());