diff -r 57b9594f5772 -r 0008ccd16016 userlibandfileserver/fileserver/sfat32/inc/sl_std.inl --- a/userlibandfileserver/fileserver/sfat32/inc/sl_std.inl Thu Sep 02 21:54:16 2010 +0300 +++ b/userlibandfileserver/fileserver/sfat32/inc/sl_std.inl Fri Sep 17 08:37:04 2010 +0300 @@ -645,6 +645,16 @@ } +//----------------------------------------------------------------------------- +/** + @return ETrue if the cluster number aClusterNo is valid, i.e. belongs to the FAT table +*/ +inline TBool CFatTable::ClusterNumberValid(TUint32 aClusterNo) const + { + return (aClusterNo >= KFatFirstSearchCluster) && (aClusterNo < iMaxEntries); + } + + /** @return Maximal number of addresable FAT entries. This value is taken from the owning mount */