https://git.reactos.org/?p=reactos.git;a=commitdiff;h=453e42beb503ca70e93d48...
commit 453e42beb503ca70e93d4854bc15a2b14850425e Author: Pierre Schweitzer pierre@reactos.org AuthorDate: Mon Dec 25 11:22:00 2017 +0100
[FASTFAT] Revert bd1e7bf: our VPB swapout implementation in FastFAT is buggy and leaves volumes in half-(dis)mounted state and thus they get remounted while not completely dismounted. This can lead to major breakage and data corruption. This requires deeper fixes (let's just drop that driver!).
CORE-14124 CORE-14126 CORE-14133 --- drivers/filesystems/fastfat/vfat.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/filesystems/fastfat/vfat.h b/drivers/filesystems/fastfat/vfat.h index 50b83b1afb..b84b320573 100644 --- a/drivers/filesystems/fastfat/vfat.h +++ b/drivers/filesystems/fastfat/vfat.h @@ -13,7 +13,11 @@ #endif
#define USE_ROS_CC_AND_FS +#if 0 +#ifndef _MSC_VER #define ENABLE_SWAPOUT +#endif +#endif
#define ROUND_DOWN(n, align) \ (((ULONG)n) & ~((align) - 1l))