From: Patrick Donnelly Date: Thu, 14 Nov 2024 18:34:57 +0000 (-0500) Subject: client/UserPerm: add print method X-Git-Tag: v20.0.0^2~54 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aeb07bb1cbfcf807367a71dafc2615a6cfd8921d;p=ceph.git client/UserPerm: add print method For debug prints. Signed-off-by: Patrick Donnelly Fixes: https://tracker.ceph.com/issues/66373 --- diff --git a/src/client/UserPerm.h b/src/client/UserPerm.h index bb7c25d3e1e6..995dd03adefd 100644 --- a/src/client/UserPerm.h +++ b/src/client/UserPerm.h @@ -88,6 +88,12 @@ public: gids = o.gids; alloced_gids = false; } + void print(std::ostream& os) const { + os + << "UserPerm(uid=" << m_uid + << " gid=" << m_gid + << ")"; + } }; #endif