userlibandfileserver/fileserver/sfile/sf_main.cpp
branchRCL_3
changeset 81 e7d2d738d3c2
parent 0 a41df078684a
child 134 95847726fe57
--- a/userlibandfileserver/fileserver/sfile/sf_main.cpp	Fri Mar 12 15:50:11 2010 +0200
+++ b/userlibandfileserver/fileserver/sfile/sf_main.cpp	Mon Mar 15 12:45:50 2010 +0200
@@ -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