sys: create: minor fix

This commit is contained in:
Bill Zissimopoulos 2019-03-19 18:36:52 -07:00
parent ff6421866d
commit d2b6c4691e
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -627,7 +627,7 @@ static NTSTATUS FspFsvolCreateNoLock(
Request->Req.Create.CaseSensitive = CaseSensitive;
Request->Req.Create.HasTrailingBackslash = HasTrailingBackslash;
Request->Req.Create.NamedStream = MainFileName.Length;
#undef APPEND
#undef NEXTOFS
Request->Req.Create.AcceptsSecurityDescriptor = 0 == Request->Req.Create.NamedStream &&
!!FsvolDeviceExtension->VolumeParams.AllowOpenInKernelMode;