]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: fix in-tree filtering
authorKarel Zak <kzak@redhat.com>
Mon, 25 Sep 2023 11:19:49 +0000 (13:19 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 20 Nov 2023 21:25:46 +0000 (22:25 +0100)
commitc4b7821456f1645f4caf015c2e82a37af5f6bdfa
tree313eaf6b100b4dd15a5e63a6494992920d8b1ce1
parentc3317cdc76f348910baa48cb397f361cdbd766ea
lsblk: fix in-tree filtering

The function device_to_scols() is used recursively (for children).
It's impossible leave the function on filter status=false, it's
necessary to continue in the tree.

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