mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[VFATLIB] Don't attempt to fix volume if not allowed
This commit is contained in:
parent
ec9fc7fade
commit
c5983e302d
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue