]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove the duplicated or incorrect respond 44229/head
authorXiubo Li <xiubli@redhat.com>
Tue, 7 Dec 2021 01:49:14 +0000 (09:49 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 4 Jan 2022 02:11:17 +0000 (10:11 +0800)
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>
src/mds/Server.cc

index 0298f3fcc68b285ce95565123229648e72ce4479..0f0669e4b927fa8c77c388be2418020725f7ff29 100644 (file)
@@ -2529,7 +2529,7 @@ void Server::dispatch_client_request(MDRequestRef& mdr)
   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 ||