diff -r a232af6b0b1f -r a5496987b1da userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp --- a/userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp Wed Jun 23 12:58:21 2010 +0100 +++ b/userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp Thu Jul 01 17:57:33 2010 +0100 @@ -935,12 +935,7 @@ case ESQ_MountedVolumeSize: { TUint64* pVal = (TUint64*)aParam; - *pVal = iSize; //-- physical drive size - - //-- take into account space occupied by FAT table, etc. - *pVal -= ClusterBasePosition(); - *pVal=(*pVal >> ClusterSizeLog2()) << ClusterSizeLog2(); //-- round down to cluster size - + *pVal = VolumeSizeInBytes(); __PRINT1(_L("MountControl() MountedVolumeSize:%LU"), *pVal); return KErrNone; }