From 453e42beb503ca70e93d4854bc15a2b14850425e Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Mon, 25 Dec 2017 11:22:00 +0100 Subject: [PATCH] [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 50b83b1afb9..b84b320573c 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))