From 78544a017eab09aa2b6e729cba861ce4d30da7e7 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Mon, 13 Feb 2017 21:17:26 +0000 Subject: [PATCH] [FASTFAT] In order to make VfatVerify() work on something else than floppies, ask for change count when issuing IOCTL_DISK_CHECK_VERIFY svn path=/trunk/; revision=73793 --- reactos/drivers/filesystems/fastfat/fsctl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/filesystems/fastfat/fsctl.c b/reactos/drivers/filesystems/fastfat/fsctl.c index 2076a650a74..06bb80dbe00 100644 --- a/reactos/drivers/filesystems/fastfat/fsctl.c +++ b/reactos/drivers/filesystems/fastfat/fsctl.c @@ -624,6 +624,7 @@ VfatVerify( PDEVICE_EXTENSION DeviceExt; BOOLEAN AllowRaw; PVPB Vpb; + ULONG ChangeCount, BufSize = sizeof(ChangeCount); DPRINT("VfatVerify(IrpContext %p)\n", IrpContext); @@ -642,8 +643,8 @@ VfatVerify( IOCTL_DISK_CHECK_VERIFY, NULL, 0, - NULL, - 0, + &ChangeCount, + &BufSize, TRUE); if (!NT_SUCCESS(Status) && Status != STATUS_VERIFY_REQUIRED) { -- 2.17.1