]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: use the generic module_load() function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 Jul 2018 10:41:50 +0000 (12:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Jul 2018 16:28:21 +0000 (18:28 +0200)
commit81d7c696573672213a345a09de3199f392cd3162
tree5d7a15c6250c69a72951c08394a2a5df61018882
parent9b38ec87da26821db13a77cbed17d7b45485d044
core: use the generic module_load() function

This allows aliases to be used for the basic modules we load from pid1 before
udev is started. In #9501 the kernel renamed autofs4 to autofs, with "autofs4"
as alias, but we wouldn't load the module, because we didn't follow aliases.
The kernel change was reverted, but it's probably better to support aliases.
src/core/kmod-setup.c