]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mds/StrayManager.cc
update sources to v12.1.1
[ceph.git] / ceph / src / mds / StrayManager.cc
index 25c2477441eaacfa7f7fc282ecd886c584d3203f..b2102ddc2d09b6cbb717e4e09a8a347e1edfa52c 100644 (file)
@@ -420,6 +420,7 @@ bool StrayManager::_eval_stray(CDentry *dn, bool delay)
   dout(10) << " inode is " << *dnl->get_inode() << dendl;
   CInode *in = dnl->get_inode();
   assert(in);
+  assert(!in->state_test(CInode::STATE_REJOINUNDEF));
 
   // The only dentries elegible for purging are those
   // in the stray directories