From: Xiubo Li Date: Wed, 13 Apr 2022 02:59:42 +0000 (+0800) Subject: mds: remove duplicated code X-Git-Tag: v18.0.0~973^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=11efec04e4b25a83800ae77970ef15d7f88b9ccf;p=ceph.git mds: remove duplicated code Signed-off-by: Xiubo Li --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 5b54e8112a41..70cfd679bb6e 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -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