]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: hide alternate_name from API
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 10 Sep 2024 20:47:39 +0000 (16:47 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:17 +0000 (15:43 -0400)
commit0382166f77aa81bd40043e70837fcac5a4d7487d
tree5a86ca4e4853e8abd74923bca713df5f76a29725
parentbbe6d9c1ecfee76b3e88f7b08aefe921ebc64a77
client: hide alternate_name from API

The dentry alternate_name was exposed primarily to facilitate testing. Instead,
put these methods in the TestClient scaffolding to allow reading/manipulating
alternate_name.

Because we will be using alternate_name to handle encrypted names and the
normalized / case folded name, we do not want the application to change the
meaning of the metadata out-of-band.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
Fixes: https://tracker.ceph.com/issues/66373
(cherry picked from commit 1e34963af11210ebd940e20219728b91031e720f)
src/client/Client.cc
src/client/Client.h
src/test/client/TestClient.h
src/test/client/alternate_name.cc