]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: avoid multiple calls to path_walk
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 11 Mar 2025 14:28:01 +0000 (10:28 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 17 Mar 2025 19:43:24 +0000 (15:43 -0400)
commite635fb0cc532d687af742aedb2f2d505264f46d9
treeeb074652203885dc4928984909ea7b88f74bd176
parentf94bdb4ead271c17633d2405e63990fb182f4e0c
client: avoid multiple calls to path_walk

When we wrap a dname after a path walk, we cannot do another path walk.
Originally this method was setup to permit that but with (upcoming) encryption
it cannot work. The dname from the path_walk is in the encrypted namespace so
we cannot do another lookup in a second path_walk.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit af8d267e5f8123eaf3cb311b7d608025468429f9)
src/client/Client.cc
src/client/Client.h