Skip to content
  • Alexander Graf's avatar
    efi_loader: disk: Fix CONFIG_BLK breakage · f9d334bd
    Alexander Graf authored
    
    
    When using CONFIG_BLK, there were 2 issues:
    
      1) The name we generate the device with has to match the
         name we set in efi_set_bootdev()
    
      2) The device we pass into our block functions was wrong,
         we should not rediscover it but just use the already known
         pointer.
    
    This patch fixes both issues.
    
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    f9d334bd