mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 15:36:42 +00:00
For now, some filesystems still need to use DiskGetBootVolume()...
svn path=/trunk/; revision=43004
This commit is contained in:
parent
86500a05fc
commit
8803ca6791
3 changed files with 3 additions and 3 deletions
|
@ -1290,7 +1290,7 @@ const DEVVTBL* Ext2Mount(ULONG DeviceId)
|
|||
ULONGLONG StartSector;
|
||||
ULONGLONG SectorCount;
|
||||
int Type;
|
||||
if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type))
|
||||
if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type))
|
||||
return NULL;
|
||||
Ext2OpenVolume(DriveNumber, StartSector, SectorCount);
|
||||
return &Ext2FuncTable;
|
||||
|
|
|
@ -1535,7 +1535,7 @@ const DEVVTBL* FatMount(ULONG DeviceId)
|
|||
ULONGLONG StartSector;
|
||||
ULONGLONG SectorCount;
|
||||
int Type;
|
||||
if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type))
|
||||
if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type))
|
||||
return NULL;
|
||||
FatOpenVolume(DriveNumber, StartSector, SectorCount);
|
||||
return &FatFuncTable;
|
||||
|
|
|
@ -905,7 +905,7 @@ const DEVVTBL* NtfsMount(ULONG DeviceId)
|
|||
ULONGLONG StartSector;
|
||||
ULONGLONG SectorCount;
|
||||
int Type;
|
||||
if (!MachDiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type))
|
||||
if (!DiskGetBootVolume(&DriveNumber, &StartSector, &SectorCount, &Type))
|
||||
return NULL;
|
||||
NtfsOpenVolume(DriveNumber, StartSector, SectorCount);
|
||||
return &NtfsFuncTable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue