mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 09:50:43 +00:00
[NTFS]
Cherry pick a change from r71224 by Trevor: - Don't fail too early in NtfsCreateFile() when requesting write/supersede operation. This allows already setting appropriate error in certain cases and making the driver more consistent svn path=/trunk/; revision=71229
This commit is contained in:
parent
64bc0243c3
commit
81f2467b66
1 changed files with 0 additions and 7 deletions
|
@ -359,13 +359,6 @@ NtfsCreateFile(PDEVICE_OBJECT DeviceObject,
|
|||
|
||||
FileObject = Stack->FileObject;
|
||||
|
||||
if (RequestedDisposition == FILE_CREATE ||
|
||||
RequestedDisposition == FILE_OVERWRITE_IF ||
|
||||
RequestedDisposition == FILE_SUPERSEDE)
|
||||
{
|
||||
return STATUS_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
if ((RequestedOptions & FILE_OPEN_BY_FILE_ID) == FILE_OPEN_BY_FILE_ID)
|
||||
{
|
||||
ULONGLONG MFTId;
|
||||
|
|
Loading…
Reference in a new issue