commit | 65436f91c5ba76f176a1f1d20801837c9746bb82 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri Jan 19 20:24:49 2018 +0100 |
committer | Alexander Graf <agraf@suse.de> | Mon Jan 22 23:09:14 2018 +0100 |
tree | d5b114d2154ae83ac332409a2362fc9cd2b62d53 | |
parent | 4f94865b30e07a8c140751b0c0b238960fa27b8c [diff] |
efi_loader: provide function to get last node of a device path On a block device and its partitions the same protocols can be installed. To tell the apart we can use the type of the last node of the device path which is not the end node. The patch provides a utility function to find this last node. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>