diff --git a/sys/create.c b/sys/create.c index c3574573f..7e45a939b 100755 --- a/sys/create.c +++ b/sys/create.c @@ -1092,19 +1092,16 @@ Return Value: __leave; } } - + // // Let's make sure that if the caller provided an oplock key that it // gets stored in the file object. // - - status = FsRtlCheckOplockEx(DokanGetFcbOplock(fcb), - Irp, - OPLOCK_FLAG_OPLOCK_KEY_CHECK_ONLY, - NULL, - NULL, - NULL ); - + + status = + FsRtlCheckOplockEx(DokanGetFcbOplock(fcb), Irp, + OPLOCK_FLAG_OPLOCK_KEY_CHECK_ONLY, NULL, NULL, NULL); + if (!NT_SUCCESS(status)) { __leave; }