mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +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." : "");
|
(rw) ? " Assuming EOF." : "");
|
||||||
#endif
|
#endif
|
||||||
if (prev)
|
if (prev)
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
{
|
||||||
|
if (rw)
|
||||||
|
#endif
|
||||||
set_fat(fs, prev, -1);
|
set_fat(fs, prev, -1);
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
}
|
||||||
|
#endif
|
||||||
else if (!file->offset)
|
else if (!file->offset)
|
||||||
die("FAT32 root dir starts with a bad cluster!");
|
die("FAT32 root dir starts with a bad cluster!");
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue