--- a/userlibandfileserver/fileserver/sfile/sf_sys.cpp Tue Feb 02 01:24:03 2010 +0200
+++ b/userlibandfileserver/fileserver/sfile/sf_sys.cpp Fri Apr 16 16:24:37 2010 +0300
@@ -1223,7 +1223,9 @@
//
{
CSessionFs* session = aRequest->Session();
- FsNotify::CancelDismountNotifySession(session, (TRequestStatus*)aRequest->Message().Ptr0());
+ TInt drive = FsNotify::CancelDismountNotifySession(session, (TRequestStatus*)aRequest->Message().Ptr0());
+ if (drive >= 0)
+ TheDrives[drive].SetDismountDeferred(EFalse);
return KErrNone;
}