From 2b5378832604d0793e1c7e4be11c9dc0c8055011 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 24 Nov 2008 12:08:49 -0800 Subject: [PATCH] mds: remove bad assertion remove_inode should do the asserting, here, as it may do some cleanup. --- src/mds/MDCache.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 059705fe47bd1..5c97bd4628ffd 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -4042,7 +4042,6 @@ void MDCache::_recovered(CInode *in, int r) if (!in->parent && !in->projected_parent) { dout(10) << " inode has no parents, killing it off" << dendl; in->auth_unpin(this); - assert(in->get_num_ref() == 0); // right? remove_inode(in); } else { // make sure this is in "newest" inode struct, and gets journaled -- 2.39.5