diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2023-12-19 21:20:24 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 10:18:39 +0900 |
commit | 14573faf07515b472f86dff585bd8a14fa1f25d7 (patch) | |
tree | 87a170a043a8246ed3ff58722e9904aa5469494c /tdeprint/kpfilterpage.cpp | |
parent | d5688771d8a6837975be512ee37f61bad7dbd345 (diff) | |
download | tdelibs-14573faf07515b472f86dff585bd8a14fa1f25d7.tar.gz tdelibs-14573faf07515b472f86dff585bd8a14fa1f25d7.zip |
Fix lvm volumes appearing as removable devices
- remove obsolete/erroneous code meddling with
GENHD_FL_MEDIA_CHANGE_NOTIFY
- use /sys/block/<dev>/removable rather than
/sys/block/<dev>/capabilities
- deprecate TDEDiskDeviceStatus::Hotpluggable and use
TDEDiskDeviceStatus::Removable for all removable devices
- put some local utility function into anonymous namespace
See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/148
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'tdeprint/kpfilterpage.cpp')
0 files changed, 0 insertions, 0 deletions