Enable FAT volumes checking.
Dedicated to Thomas
svn path=/trunk/; revision=69772
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;
FsCheckTotalFiles = 0;
-#if 0
verify = TRUE;
salvage_files = TRUE;
/* Close the volume */
return fs_close(FixErrors) ? STATUS_SUCCESS : STATUS_UNSUCCESSFUL;
-#else
- return STATUS_SUCCESS;
-#endif
}
/* EOF */
#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