mds: remove bogus assert

Causes problems during resolve finish.

Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
Sage Weil 2010-11-19 15:55:24 -08:00
parent 9e15ade88d
commit 27c6f217ca

View File

@ -194,7 +194,9 @@ void CDentry::mark_clean()
{
dout(10) << " mark_clean " << *this << dendl;
assert(is_dirty());
assert(dir->get_version() == 0 || version <= dir->get_version()); // hmm?
// not always true for recalc_auth_bits during resolve finish
//assert(dir->get_version() == 0 || version <= dir->get_version()); // hmm?
// state+pin
state_clear(STATE_DIRTY);