Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libutil: determine base device address in case of given partition
util_sys_get_dev_addr() returns the device address for a given blockdevice. This does not work for partitions but some tools rely on the ability to get the device address for partitions. Add code that first determines the base device for a partition. Fixes: 6014d07 ("dasdview/libdasd/zipl: Use util_sys_get_dev_addr() instead of u2s_getbusid()") Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com> Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
- Loading branch information