mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
[FASTFAT]
- Acquire Paging IO Resource shared when performing paged writes Greenlighted by Pierre and tests. CORE-12184 #resolve svn path=/trunk/; revision=72987
This commit is contained in:
parent
6fa7ff1eba
commit
72c8ed3670
1 changed files with 1 additions and 1 deletions
|
@ -880,7 +880,7 @@ VfatWrite(
|
|||
Resource = &Fcb->MainResource;
|
||||
}
|
||||
|
||||
if (Fcb->Flags & FCB_IS_PAGE_FILE)
|
||||
if ((Fcb->Flags & FCB_IS_PAGE_FILE) || (IrpContext->Irp->Flags & IRP_PAGING_IO))
|
||||
{
|
||||
if (!ExAcquireResourceSharedLite(Resource,
|
||||
BooleanFlagOn(IrpContext->Flags, IRPCONTEXT_CANWAIT)))
|
||||
|
|
Loading…
Reference in a new issue