Author: pschweitzer
Date: Mon Dec 27 18:11:35 2010
New Revision: 50167
URL:
http://svn.reactos.org/svn/reactos?rev=50167&view=rev
Log:
[FASTFAT]
MagicValue--;
ThanksTo(James, Amine);
/* EOF */
Modified:
trunk/reactos/drivers/filesystems/fastfat/finfo.c
trunk/reactos/drivers/filesystems/fastfat/vfat.h
trunk/reactos/drivers/filesystems/fastfat/volume.c
Modified: trunk/reactos/drivers/filesystems/fastfat/finfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/finfo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/finfo.c [iso-8859-1] Mon Dec 27 18:11:35
2010
@@ -152,7 +152,7 @@
ASSERT(NULL != DeviceExt);
ASSERT(NULL != BasicInfo);
/* Check volume label bit */
- ASSERT(0 == (*FCB->Attributes & 0x08));
+ ASSERT(0 == (*FCB->Attributes & _A_VOLID));
if (FCB->Flags & FCB_IS_FATX_ENTRY)
{
Modified: trunk/reactos/drivers/filesystems/fastfat/vfat.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/vfat.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/vfat.h [iso-8859-1] Mon Dec 27 18:11:35
2010
@@ -2,6 +2,7 @@
#include <bugcodes.h>
#include <ntdddisk.h>
#include <debug.h>
+#include <dos.h>
#define USE_ROS_CC_AND_FS
Modified: trunk/reactos/drivers/filesystems/fastfat/volume.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/volume.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/volume.c [iso-8859-1] Mon Dec 27 18:11:35
2010
@@ -216,7 +216,7 @@
{
RtlCopyMemory(VolumeLabelDirEntry.FatX.Filename, cString, LabelLen);
memset(&VolumeLabelDirEntry.FatX.Filename[LabelLen], ' ', 42 -
LabelLen);
- VolumeLabelDirEntry.FatX.Attrib = 0x08;
+ VolumeLabelDirEntry.FatX.Attrib = _A_VOLID;
}
else
{
@@ -230,7 +230,7 @@
{
memset(&VolumeLabelDirEntry.Fat.Filename[LabelLen], ' ',
sizeof(VolumeLabelDirEntry.Fat.Filename) - LabelLen);
}
- VolumeLabelDirEntry.Fat.Attrib = 0x08;
+ VolumeLabelDirEntry.Fat.Attrib = _A_VOLID;
}
pRootFcb = vfatOpenRootFCB(DeviceExt);