diff -r c734af59ce98 -r 5b5d147c7838 userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp --- a/userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp Tue May 11 17:28:22 2010 +0300 +++ b/userlibandfileserver/fileserver/sfat32/sl_mnt32.cpp Tue May 25 14:09:55 2010 +0300 @@ -892,6 +892,9 @@ if(aLevel == EMountVolParamQuery) { ASSERT(ConsistentState()); //-- volume state shall be consistent, otherwise its parameters do not make sense + if(iRamDrive) + return KErrNotSupported; //-- it requires knowledge of free space on the volume + switch(aOption) { //-- Request a certain amount of free space on the volume. @@ -927,9 +930,6 @@ //-- A request to obtain size of the mounted volume without blocking (CMountCB::VolumeL() can block). case ESQ_MountedVolumeSize: { - if(iRamDrive) - return KErrNotSupported; //-- it requires knowledge of free space on the volume - TUint64* pVal = (TUint64*)aParam; *pVal = iSize; //-- physical drive size