]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove duplicated code 45889/head
authorXiubo Li <xiubli@redhat.com>
Wed, 13 Apr 2022 02:59:42 +0000 (10:59 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 13 Apr 2022 04:48:45 +0000 (12:48 +0800)
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/Server.cc

index 5b54e8112a41acb08456602a72c77990743d0912..70cfd679bb6ef794b4de91d306a55c1d8f0df04c 100644 (file)
@@ -3879,8 +3879,6 @@ void Server::handle_client_getattr(MDRequestRef& mdr, bool is_lookup)
   if (!ref)
     return;
 
-  mdr->getattr_caps = mask;
-
   /*
    * if client currently holds the EXCL cap on a field, do not rdlock
    * it; client's stat() will result in valid info if _either_ EXCL