fix m_bFilled not being set to false

This commit is contained in:
Glenn Maynard
2004-11-12 23:16:08 +00:00
parent 1104565faa
commit 7136b25289
+3 -3
View File
@@ -299,10 +299,10 @@ FileSet *FilenameDB::GetFileSet( CString dir, bool create )
this->DelFileSet( i );
}
/* Create the FileSet and insert it. Since it's marked !m_bFilled, if other
* threads happen to try to use this directory before we finish filling it,
* they'll wait. */
/* Create the FileSet and insert it. Set it to !m_bFilled, so if other threads
* happen to try to use this directory before we finish filling it, they'll wait. */
ret = new FileSet;
ret->m_bFilled = false;
dirs[lower] = ret;
/* Unlock while we populate the directory. This way, reads to other directories