On x86_64, dosfsck incorrectly claims that a free_cluster summary of

0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
Steven J. Magnani 2010-01-21 16:55:30 +01:00 committed by Daniel Baumann
parent 62f806a292
commit 1cae726e2d

View File

@ -525,7 +525,7 @@ unsigned long update_free(DOS_FS *fs)
if (verbose)
printf("Checking free cluster summary.\n");
if (fs->free_clusters >= 0) {
if (fs->free_clusters != 0xFFFFFFFF) {
if (free != fs->free_clusters) {
printf( "Free cluster summary wrong (%ld vs. really %ld)\n",
fs->free_clusters,free);