]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: make MDSCacheObject::is_ambiguous_auth() virtual
authorYan, Zheng <zyan@redhat.com>
Tue, 23 Jul 2019 01:14:41 +0000 (09:14 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 29 Jul 2020 12:45:57 +0000 (20:45 +0800)
CInode overrides is_ambiguous_auth(). Locker calls is_ambiguous_auth()
from base class.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDSCacheObject.h

index 47f1475de96ead0117303549f4e28468db3dc0c4..2117fb86988de9e05f58c3fa2dfbe728c901669d 100644 (file)
@@ -113,7 +113,7 @@ class MDSCacheObject {
   // --------------------------------------------
   // authority
   virtual mds_authority_t authority() const = 0;
-  bool is_ambiguous_auth() const {
+  virtual bool is_ambiguous_auth() const {
     return authority().second != CDIR_AUTH_UNKNOWN;
   }