Author: pschweitzer
Date: Sun Nov 1 13:04:23 2015
New Revision: 69772
URL:
http://svn.reactos.org/svn/reactos?rev=69772&view=rev
Log:
[VFATLIB]
Enable FAT volumes checking.
Dedicated to Thomas
Modified:
trunk/reactos/lib/fslib/vfatlib/vfatlib.c
trunk/reactos/lib/fslib/vfatlib/vfatlib.h
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/vfatlib.…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.c [iso-8859-1] Sun Nov 1 13:04:23 2015
@@ -343,12 +343,10 @@
IN BOOLEAN ScanDrive,
IN PFMIFSCALLBACK Callback)
{
-#if 0
BOOLEAN verify;
BOOLEAN salvage_files;
-#endif
- //ULONG free_clusters;
- //DOS_FS fs;
+ ULONG free_clusters;
+ DOS_FS fs;
/* Store callback pointer */
ChkdskCallback = Callback;
@@ -361,7 +359,6 @@
FsCheckTotalFiles = 0;
-#if 0
verify = TRUE;
salvage_files = TRUE;
@@ -430,9 +427,6 @@
/* Close the volume */
return fs_close(FixErrors) ? STATUS_SUCCESS : STATUS_UNSUCCESSFUL;
-#else
- return STATUS_SUCCESS;
-#endif
}
/* EOF */
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/vfatlib.…
==============================================================================
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.h [iso-8859-1] Sun Nov 1 13:04:23 2015
@@ -25,6 +25,8 @@
#include "check/io.h"
#include "check/fat.h"
#include "check/file.h"
+#include "check/check.h"
+#include "check/boot.h"
#include <pshpack1.h>
typedef struct _FAT16_BOOT_SECTOR