mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[efi] Reset root directory when installing EFI_SIMPLE_FILE_SYSTEM_PROTOCOL
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -614,6 +614,9 @@ int efi_file_install ( EFI_HANDLE handle ) {
|
|||||||
EFI_STATUS efirc;
|
EFI_STATUS efirc;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
/* Reset root directory state */
|
||||||
|
efi_file_root.pos = 0;
|
||||||
|
|
||||||
/* Install the simple file system protocol, block I/O
|
/* Install the simple file system protocol, block I/O
|
||||||
* protocol, and disk I/O protocol. We don't have a block
|
* protocol, and disk I/O protocol. We don't have a block
|
||||||
* device, but large parts of the EDK2 codebase make the
|
* device, but large parts of the EDK2 codebase make the
|
||||||
|
|||||||
Reference in New Issue
Block a user