https://git.reactos.org/?p=reactos.git;a=commitdiff;h=de0368614814293c40517…
commit de0368614814293c40517551911c0057bde7dfed
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sun Dec 17 18:20:04 2017 +0100
[FASTFAT] Fix a handle count leak on volume close. This can prevent locking a volume!
---
drivers/filesystems/fastfat/cleanup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/filesystems/fastfat/cleanup.c
b/drivers/filesystems/fastfat/cleanup.c
index 85b4ea2d2c..d584dee859 100644
--- a/drivers/filesystems/fastfat/cleanup.c
+++ b/drivers/filesystems/fastfat/cleanup.c
@@ -41,6 +41,7 @@ VfatCleanupFile(
if (IsVolume)
{
pFcb->OpenHandleCount--;
+ DeviceExt->OpenHandleCount--;
if (pFcb->OpenHandleCount != 0)
{