diff -r c1f20ce4abcf -r 3e88ff8f41d5 userlibandfileserver/fileserver/sfile/sf_plugin.cpp --- a/userlibandfileserver/fileserver/sfile/sf_plugin.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/userlibandfileserver/fileserver/sfile/sf_plugin.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -247,9 +247,9 @@ } /** - Return ETrue if the request originated from this plugin + Return ETrue if the calling thread is the plugin thread */ -TBool CFsPlugin::OriginatedFromPlugin(CFsRequest& aRequest) +TBool CFsPlugin::IsPluginThread(CFsRequest& aRequest) { if(aRequest.iOwnerPlugin == this) return ETrue; @@ -361,11 +361,9 @@ CFsPlugin* plugin = this; - FsPluginManager::ReadLockChain(); - FsPluginManager::NextPlugin(plugin, &msgRequest); + FsPluginManager::NextPlugin(plugin, &msgRequest,(TBool)ETrue); msgRequest.iCurrentPlugin = plugin; msgRequest.Dispatch(); - FsPluginManager::UnlockChain(); iThreadP->OperationLockWait(); aDes.SetLength(len);