From: Patrick Donnelly Date: Mon, 23 Sep 2024 14:54:42 +0000 (-0400) Subject: mds: remove obsolete comments X-Git-Tag: v20.0.0~754^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F60454%2Fhead;p=ceph.git mds: remove obsolete comments An mdr is a smart pointer now. The reference is now codified. Signed-off-by: Patrick Donnelly --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 65ac6f17b433..cf286b46d466 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -4464,7 +4464,6 @@ void Server::_lookup_ino_2(const MDRequestRef& mdr, int r) } -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_open(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request; @@ -4702,7 +4701,6 @@ bool Server::is_valid_layout(file_layout_t *layout) return true; } -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_openc(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request; @@ -7169,7 +7167,6 @@ void Server::handle_client_mknod(const MDRequestRef& mdr) // MKDIR -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_mkdir(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request; @@ -8767,8 +8764,6 @@ public: * all other nodes have also replciated destdn and straydn. note that * destdn replicas need not also replicate srci. this only works when * destdn is leader. - * - * This function takes responsibility for the passed mdr. */ void Server::handle_client_rename(const MDRequestRef& mdr) { @@ -10913,7 +10908,6 @@ void Server::_peer_rename_sessions_flushed(const MDRequestRef& mdr) } // snaps -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_lssnap(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request; @@ -11023,7 +11017,6 @@ struct C_MDS_mksnap_finish : public ServerLogContext { } }; -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_mksnap(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request; @@ -11220,7 +11213,6 @@ struct C_MDS_rmsnap_finish : public ServerLogContext { } }; -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_rmsnap(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request; @@ -11350,7 +11342,6 @@ struct C_MDS_renamesnap_finish : public ServerLogContext { } }; -/* This function takes responsibility for the passed mdr*/ void Server::handle_client_renamesnap(const MDRequestRef& mdr) { const cref_t &req = mdr->client_request;