From: Patrick Donnelly Date: Wed, 23 Oct 2024 17:56:06 +0000 (-0400) Subject: mds: make encode_lease a proper method X-Git-Tag: v19.2.3~288^2~59 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=12ae0bfbc98bb8d09c4bf6999b0545c14073aabf;p=ceph.git mds: make encode_lease a proper method So we can print debugging. Signed-off-by: Patrick Donnelly Fixes: https://tracker.ceph.com/issues/66373 (cherry picked from commit c48f1db6ef561ea2cd1de91647db9e05a730ffcc) --- diff --git a/src/mds/Locker.h b/src/mds/Locker.h index aa037ac6abd..5d6cd7389c9 100644 --- a/src/mds/Locker.h +++ b/src/mds/Locker.h @@ -194,7 +194,7 @@ public: void issue_client_lease(CDentry *dn, CInode *in, const MDRequestRef &mdr, utime_t now, bufferlist &bl); void revoke_client_leases(SimpleLock *lock); - static void encode_lease(bufferlist& bl, const session_info_t& info, const LeaseStat& ls); + void encode_lease(bufferlist& bl, const session_info_t& info, const LeaseStat& ls); protected: void send_lock_message(SimpleLock *lock, int msg);