]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/sysfs: abort device hierarchy walk at root of sysfs
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 12 Jun 2024 21:30:28 +0000 (23:30 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 12 Jun 2024 21:30:28 +0000 (23:30 +0200)
commit84e33a138dc9faf2b1b154df5eaed910aa236eeb
tree0edfe071572e5c24c126790ba977ee808cb6d446
parente9977b8c120c07ded70dfa29a67934004b4d692d
lib/sysfs: abort device hierarchy walk at root of sysfs

It does not make sense to leave the sysfs hierarchy during the walk of
the parent directories.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/sysfs.c