From 45ff4994f250e56fc720ce5e97ed72d0d0c3cc3d Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 12 Sep 2024 18:39:33 -0400 Subject: [PATCH] client: relocate definition It doesn't need to be public; the API does not expose alternate_name. Signed-off-by: Patrick Donnelly Fixes: https://tracker.ceph.com/issues/66373 --- src/client/Client.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/Client.h b/src/client/Client.h index 67ee3729c56..c731def9b61 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -269,11 +269,6 @@ public: typedef int (*add_dirent_cb_t)(void *p, struct dirent *de, struct ceph_statx *stx, off_t off, Inode *in); - struct walk_dentry_result { - InodeRef in; - std::string alternate_name; - }; - class CommandHook : public AdminSocketHook { public: explicit CommandHook(Client *client); @@ -955,6 +950,11 @@ public: bool _collect_and_send_global_metrics; protected: + struct walk_dentry_result { + InodeRef in; + std::string alternate_name; + }; + std::list waiting_for_reclaim; /* Flags for check_caps() */ static const unsigned CHECK_CAPS_NODELAY = 0x1; -- 2.39.5