mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FREELDR] Explicitly call RamDiskInitialize() in RamDiskLoadVirtualFile().
This commit is contained in:
parent
7d6cbea42d
commit
6d5a7b1ce3
1 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ VOID
|
|||
NTAPI
|
||||
RamDiskInitialize(VOID)
|
||||
{
|
||||
/* Setup the RAMDISK device */
|
||||
/* Register the RAMDISK device */
|
||||
FsRegisterDevice("ramdisk(0)", &RamDiskVtbl);
|
||||
}
|
||||
|
||||
|
@ -229,8 +229,8 @@ RamDiskLoadVirtualFile(IN PCHAR FileName)
|
|||
|
||||
FsCloseFile(RamFile);
|
||||
|
||||
// Register a new device for the ramdisk
|
||||
FsRegisterDevice("ramdisk(0)", &RamDiskVtbl);
|
||||
/* Setup the RAMDISK device */
|
||||
RamDiskInitialize();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue