From: Jeff Layton Date: Tue, 26 Mar 2019 19:21:09 +0000 (-0400) Subject: mds: fix dump routine for session_info_t.used_inos X-Git-Tag: v15.0.0~42^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f6ce85d9e1a43a3b61cae7bb9e7754360f022dc4;p=ceph.git mds: fix dump routine for session_info_t.used_inos It says it's dumping used_inos, but it's really dumping prealloc_inos. Signed-off-by: Jeff Layton --- diff --git a/src/mds/mdstypes.cc b/src/mds/mdstypes.cc index 238a3fc4fe179..6a207f85b4386 100644 --- a/src/mds/mdstypes.cc +++ b/src/mds/mdstypes.cc @@ -542,8 +542,8 @@ void session_info_t::dump(Formatter *f) const f->close_section(); f->open_array_section("used_inos"); - for (interval_set::const_iterator p = prealloc_inos.begin(); - p != prealloc_inos.end(); + for (interval_set::const_iterator p = used_inos.begin(); + p != used_inos.end(); ++p) { f->open_object_section("ino_range"); f->dump_unsigned("start", p.get_start());