mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[VFATLIB] Don't attempt to fix volume if not allowed
This commit is contained in:
@@ -666,7 +666,14 @@ static int check_file(DOS_FS * fs, DOS_FILE * file)
|
||||
(rw) ? " Assuming EOF." : "");
|
||||
#endif
|
||||
if (prev)
|
||||
#ifdef __REACTOS__
|
||||
{
|
||||
if (rw)
|
||||
#endif
|
||||
set_fat(fs, prev, -1);
|
||||
#ifdef __REACTOS__
|
||||
}
|
||||
#endif
|
||||
else if (!file->offset)
|
||||
die("FAT32 root dir starts with a bad cluster!");
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user