[FASTFAT]
[reactos.git] / reactos / drivers / filesystems / fastfat / close.c
index 54a1280..1f8d3b1 100644 (file)
@@ -82,10 +82,12 @@ VfatCloseFile(
         vfatDestroyCCB(pCcb);
     }
 
+#ifdef ENABLE_SWAPOUT
     if (DeviceExt->OpenHandleCount == 0)
     {
         VfatCheckForDismount(DeviceExt, FALSE);
     }
+#endif
 
     return Status;
 }