From: Patrick Donnelly Date: Thu, 12 Sep 2024 22:39:33 +0000 (-0400) Subject: client: relocate definition X-Git-Tag: testing/wip-pdonnell-testing-20250227.191159-debug^2~42 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=45ff4994f250e56fc720ce5e97ed72d0d0c3cc3d;p=ceph-ci.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 --- 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;