https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c8f2befb5ff1465123d0bceb4595a00add62326f

commit c8f2befb5ff1465123d0bceb4595a00add62326f
Author: Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Sun Dec 17 23:26:38 2017 +0100

    [USETUP] Our current FAT ChkDsk being a bit slow when using the right path 
make
    it only perform a full check if dirty bit is set (which should never happen 
*cough*).
    
    This is needed because otherwise, ReactOS installation takes forever when 
IopParseDevice is gone
    due to slow ChkDsk.
---
 base/setup/usetup/chkdsk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/setup/usetup/chkdsk.c b/base/setup/usetup/chkdsk.c
index 1ad582a4be..6d8df5d214 100644
--- a/base/setup/usetup/chkdsk.c
+++ b/base/setup/usetup/chkdsk.c
@@ -77,7 +77,7 @@ ChkdskPartition(
     Status = FileSystem->ChkdskFunc(DriveRoot,
                                     TRUE,            /* FixErrors */
                                     FALSE,           /* Verbose */
-                                    FALSE,           /* CheckOnlyIfDirty */
+                                    TRUE,            /* CheckOnlyIfDirty */
                                     FALSE,           /* ScanDrive */
                                     ChkdskCallback); /* Callback */
 

Reply via email to