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:32:59 +0900 |
commit | dff837200eae3d2fdd7fbf8f39fbe41d5ecb2d8d (patch) | |
tree | b2a9f827a3c6ee7a2ef3fb87549cd159f38b1dc6 /tdeioslave/http/https.protocol | |
parent | 2a3a62bb995b73481a8a64658266adf22e523f7b (diff) | |
download | tdelibs-dff837200eae3d2fdd7fbf8f39fbe41d5ecb2d8d.tar.gz tdelibs-dff837200eae3d2fdd7fbf8f39fbe41d5ecb2d8d.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>
(cherry picked from commit 14573faf07515b472f86dff585bd8a14fa1f25d7)
Diffstat (limited to 'tdeioslave/http/https.protocol')
0 files changed, 0 insertions, 0 deletions