1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 14:51:13 +00:00

mds: fix dir frag split replay

is_complete() may not be set, but split is still allowed.
This commit is contained in:
Sage Weil 2009-06-09 15:22:55 -07:00
parent 399f22cb18
commit 01d91acbce

View File

@ -636,7 +636,7 @@ void CDir::split(int bits, list<CDir*>& subs, list<Context*>& waiters, bool repl
if (cache->mds->logger) cache->mds->logger->inc(l_mds_dir_sp);
assert(is_complete() || !is_auth());
assert(replay || is_complete() || !is_auth());
list<frag_t> frags;
frag.split(bits, frags);