Skip to content

Commit 5657c4b

Browse files
committed
Kernel - Use DokanFCBIsPendingDeletion during oplock request
1 parent 0870b26 commit 5657c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sys/fscontrol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ NTSTATUS DokanOplockRequest(__in PREQUEST_CONTEXT RequestContext) {
242242
((fsControlCode == FSCTL_REQUEST_OPLOCK) &&
243243
FlagOn(inputBuffer->RequestedOplockLevel,
244244
OPLOCK_LEVEL_CACHE_HANDLE))) &&
245-
DokanFCBFlagsIsSet(fcb, DOKAN_FCB_STATE_DELETE_PENDING)) {
245+
DokanFCBIsPendingDeletion(fcb)) {
246246
status = STATUS_DELETE_PENDING;
247247
__leave;
248248
}

0 commit comments

Comments
 (0)