commit | 3ab87acedafcaaedc45ff18b1dc0f2aad06d1153 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 09 22:23:48 2019 +0100 |
committer | Alexander Graf <agraf@suse.de> | Wed Feb 13 09:40:06 2019 +0100 |
tree | 6214d5fe9a24d21b9a729a1bda3fdd22e442d298 | |
parent | 876a636d45a54e158d669dd6151d1a77d167fd1b [diff] |
efi_loader: fix EFI_FILE_PROTOCOL.GetInfo() We check the existence of files with fs_exist(). This function calls fs_close(). If we do not set the active block device again fs_opendir() fails and we do not set the flag EFI_FILE_DIRECTORY. Due to this error the `cd` command in the EFI shell fails. So let's add the missing set_blk_dev(fh) call. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>