mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[BTRFS] Import BTRFS upstream commit e43183a0 "open_file: set granted_access when creating file".
Better solution for the original problem described at: https://github.com/maharmstone/btrfs/pull/123
This commit is contained in:
parent
bebbb69b21
commit
5729380349
1 changed files with 1 additions and 0 deletions
|
@ -3557,6 +3557,7 @@ static NTSTATUS open_file(PDEVICE_OBJECT DeviceObject, _Requires_lock_held_(_Cur
|
|||
release_fcb_lock(Vcb);
|
||||
|
||||
Irp->IoStatus.Information = NT_SUCCESS(Status) ? FILE_CREATED : 0;
|
||||
granted_access = IrpSp->Parameters.Create.SecurityContext->DesiredAccess;
|
||||
}
|
||||
|
||||
if (NT_SUCCESS(Status) && !(options & FILE_NO_INTERMEDIATE_BUFFERING))
|
||||
|
|
Loading…
Reference in a new issue