if (!mref_reader.is_state_satisfied())
return -CEPHFS_ENOTCONN;
- filepath fp(name, 0);
InodeRef in;
- int rc;
unsigned mask = statx_to_mask(flags, want);
ldout(cct, 3) << __func__ << " " << name << dendl;
tout(cct) << name << std::endl;
std::scoped_lock lock(client_lock);
- rc = path_walk(fp, &in, perms, !(flags & AT_SYMLINK_NOFOLLOW), mask);
+ int rc = path_walk(filepath(name), &in, perms, !(flags & AT_SYMLINK_NOFOLLOW), mask);
if (rc < 0) {
/* zero out mask, just in case... */
stx->stx_mask = 0;