userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl
branchGCC_SURGE
changeset 221 39b39e1a406e
parent 201 43365a9b78a3
child 257 3e88ff8f41d5
--- a/userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl	Wed Jul 21 14:46:58 2010 +0100
+++ b/userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl	Thu Jul 22 16:46:39 2010 +0100
@@ -194,7 +194,7 @@
 TBool CDynamicDirCache::CacheIsFull() const
 	{
 	// active page, locked page and unlocked page
-	return (iLockedQCount + iUnlockedQCount + 1 >= iMaxSizeInPages);
+	return (iLockedQCount + iUnlockedQCount >= iMaxSizeInPages);
 	}
 
 /**