winfsp-tests: rdwr-test

This commit is contained in:
Bill Zissimopoulos
2016-03-07 21:15:08 -08:00
parent 1ad09f9b99
commit 6efb5cc113
3 changed files with 82 additions and 20 deletions

View File

@ -504,6 +504,7 @@ NTSTATUS FspSafeMdlCreate(PMDL UserMdl, LOCK_OPERATION Operation, FSP_SAFE_MDL *
ULONG BufferPageCount;
ASSERT(0 != PageCount);
ASSERT(FlagOn(UserMdl->MdlFlags, MDL_PAGES_LOCKED));
*PSafeMdl = 0;