Skip to content

Commit

Permalink
src/client: fix dump mds twice
Browse files Browse the repository at this point in the history
Fixes: https://tracker.ceph.com/issues/52386

Signed-off-by: Xue Yantao <xueyantao2114@163.com>
  • Loading branch information
jhonxue committed Aug 24, 2021
1 parent ea04087 commit 4d69131
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client/Inode.cc
Expand Up @@ -476,7 +476,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);
Expand Down

0 comments on commit 4d69131

Please sign in to comment.