From: Patrick Donnelly Date: Thu, 12 Sep 2024 22:39:33 +0000 (-0400) Subject: client: relocate definition X-Git-Tag: v19.2.3~288^2~55 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2f3f473c48eeb51430dd043fcb179f83d7263088;p=ceph.git 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 (cherry picked from commit 45ff4994f250e56fc720ce5e97ed72d0d0c3cc3d) --- diff --git a/src/client/Client.h b/src/client/Client.h index 62dd3692bdbd..a5e71b357b74 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -266,11 +266,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); @@ -952,6 +947,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;