summaryrefslogtreecommitdiffstats
path: root/src/mds
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2024-09-23 16:54:42 +0200
committerPatrick Donnelly <pdonnell@ibm.com>2024-10-23 18:28:18 +0200
commit0092cfe3c3e0af79ce79a0bf9d2a7caaa97f4a45 (patch)
treeb50a2b376d8c838d9164b329c2aaa9f400f77b7c /src/mds
parentMerge pull request #60388 from ceph/fix-check_license_typo-main (diff)
downloadceph-0092cfe3c3e0af79ce79a0bf9d2a7caaa97f4a45.tar.xz
ceph-0092cfe3c3e0af79ce79a0bf9d2a7caaa97f4a45.zip
mds: remove obsolete comments
An mdr is a smart pointer now. The reference is now codified. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/mds')
-rw-r--r--src/mds/Server.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mds/Server.cc b/src/mds/Server.cc
index 65ac6f17b43..cf286b46d46 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<MClientRequest> &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<MClientRequest> &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<MClientRequest> &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<MClientRequest> &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<MClientRequest> &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<MClientRequest> &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<MClientRequest> &req = mdr->client_request;