userlibandfileserver/fileserver/sfile/sf_sys.cpp
changeset 90 947f0dc9f7a8
parent 33 0173bcd7697c
child 134 95847726fe57
child 147 bbf8bed59bcb
--- 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;
 	}