]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: fix dump routine for session_info_t.used_inos
authorJeff Layton <jlayton@redhat.com>
Tue, 26 Mar 2019 19:21:09 +0000 (15:21 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 28 Mar 2019 13:51:04 +0000 (09:51 -0400)
It says it's dumping used_inos, but it's really dumping prealloc_inos.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/mds/mdstypes.cc

index 238a3fc4fe1798eff20708fcae82a18207b8057f..6a207f85b4386a85f07861b921e6440fdf8dffc7 100644 (file)
@@ -542,8 +542,8 @@ void session_info_t::dump(Formatter *f) const
   f->close_section();
 
   f->open_array_section("used_inos");
-  for (interval_set<inodeno_t>::const_iterator p = prealloc_inos.begin();
-       p != prealloc_inos.end();
+  for (interval_set<inodeno_t>::const_iterator p = used_inos.begin();
+       p != used_inos.end();
        ++p) {
     f->open_object_section("ino_range");
     f->dump_unsigned("start", p.get_start());