--- a/kernel/eka/kernel/sexec.cpp Wed Sep 15 13:42:27 2010 +0300
+++ b/kernel/eka/kernel/sexec.cpp Wed Oct 13 16:04:24 2010 +0300
@@ -2198,10 +2198,10 @@
__KTRACE_OPT(KBOOT,Kern::Printf("File server thread registered"));
DThread* pT = TheCurrentThread;
DProcess* pP = pT->iOwningProcess;
+ pP->iFlags |= (KThreadFlagProcessCritical | KProcessFlagSystemPermanent);
+ pT->iFlags |= KThreadFlagSystemPermanent;
if (K::TheFileServerProcess && K::TheFileServerProcess!=pP)
K::PanicCurrentThread(EAccessDenied);
- pP->iFlags |= (KThreadFlagProcessCritical | KProcessFlagSystemPermanent);
- pT->iFlags |= KThreadFlagSystemPermanent;
K::TheFileServerProcess=pP;
K::ThreadEnterCS();
pP->SetPriority(EPriorityFileServer);