Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[efi] Reset root directory when installing EFI_SIMPLE_FILE_SYSTEM_PRO…
…TOCOL

Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Oct 7, 2015
1 parent 3bd0d34 commit 1880691
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/interface/efi/efi_file.c
Expand Up @@ -614,6 +614,9 @@ int efi_file_install ( EFI_HANDLE handle ) {
EFI_STATUS efirc;
int rc;

/* Reset root directory state */
efi_file_root.pos = 0;

/* Install the simple file system protocol, block I/O
* protocol, and disk I/O protocol. We don't have a block
* device, but large parts of the EDK2 codebase make the
Expand Down

0 comments on commit 1880691

Please sign in to comment.