Author: jgardou
Date: Tue Oct 18 19:28:16 2016
New Revision: 72987
URL:
http://svn.reactos.org/svn/reactos?rev=72987&view=rev
Log:
[FASTFAT]
- Acquire Paging IO Resource shared when performing paged writes
Greenlighted by Pierre and tests.
CORE-12184 #resolve
Modified:
trunk/reactos/drivers/filesystems/fastfat/rw.c
Modified: trunk/reactos/drivers/filesystems/fastfat/rw.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/rw.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/rw.c [iso-8859-1] Tue Oct 18 19:28:16 2016
@@ -880,7 +880,7 @@
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)))