From: "Yan, Zheng" <zheng.z.yan@xxxxxxxxx> Signed-off-by: Yan, Zheng <zheng.z.yan@xxxxxxxxx> --- src/mds/MDCache.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 397b991..8b02b8b 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -3132,6 +3132,11 @@ void MDCache::recalc_auth_bits() for (map<CDir*,set<CDir*> >::iterator p = subtrees.begin(); p != subtrees.end(); ++p) { + + CInode *inode = p->first->get_inode(); + if (inode->is_mdsdir() && inode->ino() != MDS_INO_MDSDIR(mds->get_nodeid())) + inode->state_clear(CInode::STATE_AUTH); + list<CDir*> dfq; // dirfrag queue dfq.push_back(p->first); -- 1.7.11.4 -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html