Author: pschweitzer
Date: Mon Feb 13 21:17:26 2017
New Revision: 73793

URL: http://svn.reactos.org/svn/reactos?rev=73793&view=rev
Log:
[FASTFAT]
In order to make VfatVerify() work on something else than floppies, ask for 
change count when issuing IOCTL_DISK_CHECK_VERIFY

Modified:
    trunk/reactos/drivers/filesystems/fastfat/fsctl.c

Modified: trunk/reactos/drivers/filesystems/fastfat/fsctl.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat/fsctl.c?rev=73793&r1=73792&r2=73793&view=diff
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fsctl.c   [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fsctl.c   [iso-8859-1] Mon Feb 13 
21:17:26 2017
@@ -624,6 +624,7 @@
     PDEVICE_EXTENSION DeviceExt;
     BOOLEAN AllowRaw;
     PVPB Vpb;
+    ULONG ChangeCount, BufSize = sizeof(ChangeCount);
 
     DPRINT("VfatVerify(IrpContext %p)\n", IrpContext);
 
@@ -642,8 +643,8 @@
                                       IOCTL_DISK_CHECK_VERIFY,
                                       NULL,
                                       0,
-                                      NULL,
-                                      0,
+                                      &ChangeCount,
+                                      &BufSize,
                                       TRUE);
     if (!NT_SUCCESS(Status) && Status != STATUS_VERIFY_REQUIRED)
     {


Reply via email to