[FASTFAT] Fix a handle count leak on volume close. This can prevent locking a volume!
authorPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 17:20:04 +0000 (18:20 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 17:24:01 +0000 (18:24 +0100)
drivers/filesystems/fastfat/cleanup.c

index 85b4ea2..d584dee 100644 (file)
@@ -41,6 +41,7 @@ VfatCleanupFile(
     if (IsVolume)
     {
         pFcb->OpenHandleCount--;
+        DeviceExt->OpenHandleCount--;
 
         if (pFcb->OpenHandleCount != 0)
         {