]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: make encode_lease a proper method
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 23 Oct 2024 17:56:06 +0000 (13:56 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:16 +0000 (15:43 -0400)
So we can print debugging.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Fixes: https://tracker.ceph.com/issues/66373
(cherry picked from commit c48f1db6ef561ea2cd1de91647db9e05a730ffcc)

src/mds/Locker.h

index aa037ac6abda728f729fdb8d8c0012a6882675b8..5d6cd7389c91cf6aecc5e3791dba4a1a738f8e7b 100644 (file)
@@ -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);