]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove the duplicated or incorrect respond 44623/head
authorXiubo Li <xiubli@redhat.com>
Tue, 7 Dec 2021 01:49:14 +0000 (09:49 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 18 Jan 2022 08:29:45 +0000 (16:29 +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>
(cherry picked from commit d75164fd60427aa38a144da2587a6c815253993b)

src/mds/Server.cc

index 618f1160de56982b888810482c6c89104851e82d..7135fe1c86869135c89e535f66f65333185c56d3 100644 (file)
@@ -2515,7 +2515,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 ||