userlibandfileserver/fileserver/sfat/sl_fatcache.cpp
changeset 2 4122176ea935
parent 0 a41df078684a
child 42 a179b74831c9
--- a/userlibandfileserver/fileserver/sfat/sl_fatcache.cpp	Mon Oct 19 15:55:17 2009 +0100
+++ b/userlibandfileserver/fileserver/sfat/sl_fatcache.cpp	Mon Dec 21 16:14:42 2009 +0000
@@ -20,6 +20,15 @@
  @file
 */
 
+
+//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+//!!
+//!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it
+//!!
+//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
 #include "sl_std.h"
 #include "sl_fatcache.h"
 
@@ -336,7 +345,7 @@
     const TUint32 KMinFat16Size = 4086*sizeof(TFat16Entry);  //-- See FAT specs
     
     bParamsValid = aFatSize >= KMinFat16Size && aFatSize <= KMaxFat16Size;
-	__ASSERT_ALWAYS(bParamsValid, User::Leave(KErrCorrupt));
+    __ASSERT_ALWAYS(bParamsValid, User::Leave(KErrCorrupt));
 
     //-- cache page size is (2^aRdGranularityLog2) bytes and consists of 2^(aRdGranularityLog2-aWrGranularity) sectors.
     iPageSizeLog2 = aRdGranularityLog2;
@@ -830,7 +839,7 @@
     //-- see FAT specs; 4084 is a max. number of clusters, fat12 entry is 1.5 bytes; but we need to round up FAT12 size to the sector size
     const TUint32 KMaxFat12Size = ( ((TUint32)(4084*1.5+FAT_SectorSz()-1)) >> FAT_SectorSzLog2()) << FAT_SectorSzLog2();
     const TUint32 KMinFat12Size = FAT_SectorSz();  //-- 1 FAT sector
-	__ASSERT_ALWAYS(aFatSize >= KMinFat12Size && aFatSize <= KMaxFat12Size, User::Leave(KErrCorrupt));
+    __ASSERT_ALWAYS(aFatSize >= KMinFat12Size && aFatSize <= KMaxFat12Size, User::Leave(KErrCorrupt));
     (void)KMaxFat12Size;
     (void)KMinFat12Size;