mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:52:57 +00:00
[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
This commit is contained in:
parent
25f693843f
commit
78544a017e
1 changed files with 3 additions and 2 deletions
|
@ -624,6 +624,7 @@ VfatVerify(
|
||||||
PDEVICE_EXTENSION DeviceExt;
|
PDEVICE_EXTENSION DeviceExt;
|
||||||
BOOLEAN AllowRaw;
|
BOOLEAN AllowRaw;
|
||||||
PVPB Vpb;
|
PVPB Vpb;
|
||||||
|
ULONG ChangeCount, BufSize = sizeof(ChangeCount);
|
||||||
|
|
||||||
DPRINT("VfatVerify(IrpContext %p)\n", IrpContext);
|
DPRINT("VfatVerify(IrpContext %p)\n", IrpContext);
|
||||||
|
|
||||||
|
@ -642,8 +643,8 @@ VfatVerify(
|
||||||
IOCTL_DISK_CHECK_VERIFY,
|
IOCTL_DISK_CHECK_VERIFY,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
NULL,
|
&ChangeCount,
|
||||||
0,
|
&BufSize,
|
||||||
TRUE);
|
TRUE);
|
||||||
if (!NT_SUCCESS(Status) && Status != STATUS_VERIFY_REQUIRED)
|
if (!NT_SUCCESS(Status) && Status != STATUS_VERIFY_REQUIRED)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue