]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: make devtree dependences more generic
authorKarel Zak <kzak@redhat.com>
Tue, 23 Oct 2018 12:04:55 +0000 (14:04 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 7 Dec 2018 11:33:34 +0000 (12:33 +0100)
commit0986f29a3f7c48f86eb3241f94077ba1c52331fa
tree3fe31ba9f96172fb3af616c6660a1dd2b905f3d2
parent94d4c2dca456227f0cf34498eef51e9ac9efbdbd
lsblk: make devtree dependences more generic

We also need reference from child to parent to implement multi-parent
view. This change allows to walk on tree in both directions.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsblk-devtree.c
misc-utils/lsblk.h