mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
2ac2acf2d744aca0ae427d9931b6767a010de47f
Fix a really bad bug in VfatChkdsk(), the routine used to check a volume: In case readwrite is enabled (ie, volume fixing is allowed), when the volume is opened, it is also locked. If the volume has the clean shutdown bit and is to be checked only if that one is not set, then the volume lock is leaked. This makes the volume then totally unusable later on (any later open will fail). Because r75772 fixed volume locking on non-system partition, this totally broke (access denied) any secondary FAT volume in ROS. Now, we just properly release the lock when required, also made a comment more explicit to avoid later bugs like that. CORE-13805 svn path=/trunk/; revision=75911
Description
A free Windows-compatible Operating System
528 MiB
Languages
C
86.9%
C++
10.7%
Python
0.7%
Assembly
0.5%
CMake
0.5%
Other
0.4%