mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FASTFAT] Save the FSINFO sector location
This commit is contained in:
parent
2149c3d0d0
commit
04640f9264
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -263,6 +263,7 @@ typedef struct
|
|||
ULONG FatType;
|
||||
ULONG Sectors;
|
||||
BOOLEAN FixedMedia;
|
||||
ULONG FSInfoSector;
|
||||
} FATINFO, *PFATINFO;
|
||||
|
||||
struct _VFATFCB;
|
||||
|
|
Loading…
Reference in a new issue