]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: add make_path_string() helpers support
authorXiubo Li <xiubli@redhat.com>
Tue, 25 Apr 2023 09:31:25 +0000 (17:31 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 27 Mar 2024 00:42:41 +0000 (08:42 +0800)
commitf5bdac14e4fcd616a617e6e63b0fed47e934732b
tree01bfe466cb233d6fc1294460cdb63af44f7ca737
parentef135de41e64cd2a230dc19ca9d0b37a5f622821
client: add make_path_string() helpers support

Will use this to get the path string to do the mds auth check. It
may fail when the there is no any dentry in local cache, which could
be caused by just unlinking the last dentry while the inode keeps
opening and then try to change the mode.

Fixes: https://tracker.ceph.com/issues/57154
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit fd7aaab290728e47ff699063fa26ad63f848bbf1)
src/client/Dentry.h
src/client/Inode.cc
src/client/Inode.h