userlibandfileserver/fileserver/sfile/sf_main.cpp
changeset 90 947f0dc9f7a8
parent 0 a41df078684a
child 134 95847726fe57
--- a/userlibandfileserver/fileserver/sfile/sf_main.cpp	Tue Feb 02 01:24:03 2010 +0200
+++ b/userlibandfileserver/fileserver/sfile/sf_main.cpp	Fri Apr 16 16:24:37 2010 +0300
@@ -474,7 +474,9 @@
 	KernHeapAllocFailCount=-1;
 #endif
 	
-	TInt r= RequestAllocator::iCacheLock.CreateLocal();
+	TInt r = RequestAllocator::Initialise();
+	__ASSERT_ALWAYS(r==KErrNone,Fault(EFsCacheLockFailure));
+	r = OperationAllocator::Initialise();
 	__ASSERT_ALWAYS(r==KErrNone,Fault(EFsCacheLockFailure));
 	
 	// initialise the TParse pool lock object
@@ -492,7 +494,6 @@
 	r=FsThreadManager::CreateDisconnectThread();
 	__ASSERT_ALWAYS(r==KErrNone,Fault(EMainDisconnectThread));
 
-	RequestAllocator::Initialise();
 
 	//
 	// Install a trap handler