From c5763efa3ad12de400ecc988eecb2afb0c0df377 Mon Sep 17 00:00:00 2001 From: Edwin Rodriguez Date: Wed, 8 Oct 2025 11:42:19 -0400 Subject: [PATCH] mds: operator=() should return 'CDentry&' Fixes: https://tracker.ceph.com/issues/73419 Signed-off-by: Edwin Rodriguez --- src/mds/CDentry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/CDentry.h b/src/mds/CDentry.h index f9b67e187f42..95a342629de1 100644 --- a/src/mds/CDentry.h +++ b/src/mds/CDentry.h @@ -250,7 +250,7 @@ public: // copy cons CDentry(const CDentry& m); - const CDentry& operator= (const CDentry& right); + CDentry& operator=(const CDentry& right) = delete; // misc void make_trimmed_path_string(std::string& s, bool projected, -- 2.47.3