]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix dump last_sent 19762/head
authordongdong tao <tdd21151186@gmail.com>
Wed, 3 Jan 2018 13:35:16 +0000 (21:35 +0800)
committerdongdong tao <tdd21151186@gmail.com>
Thu, 4 Jan 2018 03:57:35 +0000 (11:57 +0800)
issue: http://tracker.ceph.com/issues/22562

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
src/mds/CInode.cc

index 703ed51448aaf779910e6b1d781939f089c91958..da6c9a158575973fea6af4ae4900d0508d6250f2 100644 (file)
@@ -4343,7 +4343,7 @@ void CInode::dump(Formatter *f) const
     f->dump_string("pending", ccap_string(it->second->pending()));
     f->dump_string("issued", ccap_string(it->second->issued()));
     f->dump_string("wanted", ccap_string(it->second->wanted()));
-    f->dump_string("last_sent", ccap_string(it->second->get_last_sent()));
+    f->dump_int("last_sent", it->second->get_last_sent());
     f->close_section();
   }
   f->close_section();