[ros-diffs] [hpoussin] 43004: For now, some filesystems still need to use DiskGetBootVolume()...

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sun Sep 6 18:07:09 CEST 2009


Author: hpoussin
Date: Sun Sep  6 18:07:08 2009
New Revision: 43004

URL: http://svn.reactos.org/svn/reactos?rev=43004&view=rev
Log:
For now, some filesystems still need to use DiskGetBootVolume()...

Modified:
    trunk/reactos/boot/freeldr/freeldr/fs/ext2.c
    trunk/reactos/boot/freeldr/freeldr/fs/fat.c
    trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c

Modified: trunk/reactos/boot/freeldr/freeldr/fs/ext2.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ext2.c?rev=43004&r1=43003&r2=43004&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/ext2.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/ext2.c [iso-8859-1] Sun Sep  6 18:07:08 2009
@@ -1290,7 +1290,7 @@
 		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;

Modified: trunk/reactos/boot/freeldr/freeldr/fs/fat.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/fat.c?rev=43004&r1=43003&r2=43004&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/fat.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/fat.c [iso-8859-1] Sun Sep  6 18:07:08 2009
@@ -1535,7 +1535,7 @@
 		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;

Modified: trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c?rev=43004&r1=43003&r2=43004&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/fs/ntfs.c [iso-8859-1] Sun Sep  6 18:07:08 2009
@@ -905,7 +905,7 @@
         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;




More information about the Ros-diffs mailing list