diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-01-23 13:52:28 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-01-24 19:14:27 +0100 |
commit | aaa448a5dcce9900fc6644a59e15c878b224888e (patch) | |
tree | 9e2163a717994406a85331ae9522d827f9649fd2 | |
parent | 8072c9c8b037f3f887e1c5f5de95797cbc42699d (diff) | |
download | systemd-aaa448a5dcce9900fc6644a59e15c878b224888e.tar.gz |
udevadm: add todo to remind us to remove compat code
https://github.com/systemd/systemd/pull/25145#issuecomment-1397606521
-rw-r--r-- | src/udev/udevadm-trigger.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c index 40ee5085a0..4e3d5bdd0f 100644 --- a/src/udev/udevadm-trigger.c +++ b/src/udev/udevadm-trigger.c @@ -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; |