Skip to content

Commit eba7adf

Browse files
committed
Remove IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION from the list of "gotta call FltCheckOplockEx" majors
The following line states > The I/O operation must be an IRP-based I/O operation. And IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION isn't. So something is wrong
1 parent 74f607e commit eba7adf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

wdk-ddi-src/content/fltkernel/nf-fltkernel-fltcheckoplockex.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ A minifilter driver calls **FltCheckOplockEx** to synchronize an IRP-based I/O o
143143

144144
* IRP_MJ_WRITE
145145

146-
* IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION
147-
148146
The I/O operation must be an IRP-based I/O operation. To determine whether a given callback data structure represents an IRP-based I/O operation, use the [FLT_IS_IRP_OPERATION](/previous-versions/ff544654(v=vs.85)) macro.
149147

150148
Minifilters must not call **FltCheckOplockEx** again within the callback specified in *WaitCompletionRoutine*. Doing so can result in a deadlock condition if the oplock package calls the completion callback before **FltCheckOplockEx** returns.

0 commit comments

Comments
 (0)