mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
For now, some filesystems still need to use DiskGetBootVolume()...
svn path=/trunk/; revision=43004
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user