diff --git a/drivers/filesystems/fastfat/fsctl.c b/drivers/filesystems/fastfat/fsctl.c index f7eaf0c7743..486535d1290 100644 --- a/drivers/filesystems/fastfat/fsctl.c +++ b/drivers/filesystems/fastfat/fsctl.c @@ -232,6 +232,7 @@ VfatHasFileSystem( FatInfo.RootCluster = ((struct _BootSector32*) Boot)->RootCluster; FatInfo.rootStart = FatInfo.dataStart + ((FatInfo.RootCluster - 2) * FatInfo.SectorsPerCluster); FatInfo.VolumeID = ((struct _BootSector32*) Boot)->VolumeID; + FatInfo.FSInfoSector = ((struct _BootSector32*) Boot)->FSInfoSector; RtlCopyMemory(&FatInfo.VolumeLabel, &((struct _BootSector32*)Boot)->VolumeLabel, sizeof(FatInfo.VolumeLabel)); } else diff --git a/drivers/filesystems/fastfat/vfat.h b/drivers/filesystems/fastfat/vfat.h index 8148d2fc142..fcb22b9c5a3 100644 --- a/drivers/filesystems/fastfat/vfat.h +++ b/drivers/filesystems/fastfat/vfat.h @@ -263,6 +263,7 @@ typedef struct ULONG FatType; ULONG Sectors; BOOLEAN FixedMedia; + ULONG FSInfoSector; } FATINFO, *PFATINFO; struct _VFATFCB;