]> 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>
Thu, 27 Feb 2025 18:41:54 +0000 (13:41 -0500)
commit1e34963af11210ebd940e20219728b91031e720f
tree57305704eb550c7a643bdf5455ad22ddd682bcb5
parent9c276fd9b63072ce11864e310c0206d3424e1bcc
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
src/client/Client.cc
src/client/Client.h
src/test/client/TestClient.h
src/test/client/alternate_name.cc