The try_get_auth_inode() has already responded to the client or
forwarded to auth MDS if returning NULL.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit
d75164fd60427aa38a144da2587a6c815253993b)
if (is_full) {
CInode *cur = try_get_auth_inode(mdr, req->get_filepath().get_ino());
if (!cur) {
- respond_to_request(mdr, -EINVAL);
+ // the request is already responded to
return;
}
if (req->get_op() == CEPH_MDS_OP_SETLAYOUT ||