userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
--- a/userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl	Tue Aug 31 16:34:26 2010 +0300
+++ b/userlibandfileserver/fileserver/sfat32/sl_dir_cache.inl	Wed Sep 01 12:34:56 2010 +0100
@@ -194,7 +194,7 @@
 TBool CDynamicDirCache::CacheIsFull() const
 	{
 	// active page, locked page and unlocked page
-	return (iLockedQCount + iUnlockedQCount >= iMaxSizeInPages);
+	return (iLockedQCount + iUnlockedQCount + 1 >= iMaxSizeInPages);
 	}
 
 /**