1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

udevadm: add todo to remind us to remove compat code

https://github.com/systemd/systemd/pull/25145#issuecomment-1397606521
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-01-23 13:52:28 +01:00
parent 8072c9c8b0
commit aaa448a5dc

View File

@ -180,7 +180,11 @@ static int device_monitor_handler(sd_device_monitor *m, sd_device *dev, void *us
const char *old_sysname;
/* When the device is renamed, the new name is broadcast, and the old name is saved
* in INTERFACE_OLD. */
* in INTERFACE_OLD.
*
* TODO: remove support for INTERFACE_OLD when kernel baseline is bumped to 4.13 or
* higher. See 1193448cb68e5a90cab027e16a093bbd367e9494.
*/
if (sd_device_get_property_value(dev, "INTERFACE_OLD", &old_sysname) >= 0) {
_cleanup_free_ char *dir = NULL, *old_syspath = NULL;