]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/sysfs: fix semantics of blkdev_is_hotpluggable
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 11 Jan 2023 19:10:57 +0000 (19:10 +0000)
committerKarel Zak <kzak@redhat.com>
Tue, 24 Jan 2023 16:26:33 +0000 (17:26 +0100)
commit156c45b7c0c084a44e061fb4efe3f1d7a0b922be
treed501667a8cb5fcfca556709fe04f0e03e1d9935b
parenta2486a0b0c175279a200d9242ba338a9105f965a
lib/sysfs: fix semantics of blkdev_is_hotpluggable

This is now decoubled from the kernels notion of a removable *block*
device and instead uses removable kobjects.
This is the correct semantic for hotpluggable devices.
lib/sysfs.c