From fa9b68d4bb98c2d09fddb4244a50c802ddb7b185 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 29 Nov 2014 20:09:44 +0000 Subject: [PATCH] [FASTFAT] If you decrease handles count on cleanup, don't forget to increase it on create. This fixes sharing violation on ReactOS installation with IopParseDevice hack disabled. svn path=/trunk/; revision=65525 --- reactos/drivers/filesystems/fastfat/create.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/drivers/filesystems/fastfat/create.c b/reactos/drivers/filesystems/fastfat/create.c index 05069df4ae8..0859762a2e8 100644 --- a/reactos/drivers/filesystems/fastfat/create.c +++ b/reactos/drivers/filesystems/fastfat/create.c @@ -526,6 +526,7 @@ VfatCreateFile( vfatAttachFCBToFileObject(DeviceExt, pFcb, FileObject); DeviceExt->OpenHandleCount++; + pFcb->OpenHandleCount++; Irp->IoStatus.Information = FILE_OPENED; return STATUS_SUCCESS; -- 2.17.1