Just in case we cannot link all the way to our mount point we will
force to do sync requests instead and let the MDS do the auth access
check.
Introduced-by: fd7aaab2907 client: add make_path_string() helpers support
Fixes: https://github.com/ceph/ceph/pull/48027#issuecomment-1752324457
Signed-off-by: Xiubo Li <xiubli@redhat.com>
if (dir) {
ret = dir->parent_inode->make_path_string(s);
} else {
- s = "???";
+ // Couldn't link all the way to our mount point
+ return false;
}
s += "/";
s.append(name.data(), name.length());