Hello,
is it ok to use oplock got in PreCreate from ECPList, later in PostCleanup callback of minifilter for file opening? I observed freeze when after call of FltCreateFileEx2 (with oplock) -> ZwSetInformationFile/FileDispositionInformation in PostCleanup, thread is stuck in nt!FsRtlCheckOplockEx:
nt!KiSwapContext
nt!KiCommitThreadWait
nt!KeWaitForSingleObject
nt!FsRtlpWaitOnIrp
nt!FsRtlpOplockBreakByCacheFlags
nt!FsRtlCheckOplockEx
Ntfs!NtfsCommonSetInformation
Ntfs!NtfsFsdSetInformation
fltmgr!FltpLegacyProcessingAfterPreCallbacksCompleted
fltmgr!FltpDispatch
nt!NtSetInformationFile
…
OS is Win7 x64.
Thanks.