From: jhonxue Date: Tue, 24 Aug 2021 02:18:29 +0000 (+0800) Subject: src/client: fix dump mds twice X-Git-Tag: v15.2.17~43^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c9875013b81e23f5fcb81892c1ffb1fc9bc7f181;p=ceph.git src/client: fix dump mds twice Fixes: https://tracker.ceph.com/issues/52386 Signed-off-by: Xue Yantao (cherry picked from commit 4d691311a33199f814c9e67cea697f659de3a0fa) --- diff --git a/src/client/Inode.cc b/src/client/Inode.cc index 91bcc815c61..5c63fc5aed5 100644 --- a/src/client/Inode.cc +++ b/src/client/Inode.cc @@ -460,7 +460,6 @@ void Inode::dump(Formatter *f) const f->open_array_section("caps"); for (const auto &pair : caps) { f->open_object_section("cap"); - f->dump_int("mds", pair.first); if (&pair.second == auth_cap) f->dump_int("auth", 1); pair.second.dump(f);