From: Zbigniew Jędrzejewski-Szmek Date: Fri, 6 Jul 2018 09:51:04 +0000 (+0200) Subject: core/kmod-setup: restore comments X-Git-Tag: v240~939^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6755bb5548532f728ca06742d7e7abad14d41e7b;p=thirdparty%2Fsystemd.git core/kmod-setup: restore comments They were removed in 7491e6e7c5fcb3c445a0656a440bd1551adb6ba1, but the original version is more informative. Let's add them back. --- diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c index 9251929558a..b8292e77fd6 100644 --- a/src/core/kmod-setup.c +++ b/src/core/kmod-setup.c @@ -76,13 +76,15 @@ int kmod_setup(void) { bool warn_if_module:1; bool (*condition_fn)(void); } kmod_table[] = { - /* auto-loading on use doesn't work before udev is up */ + /* This one we need to load explicitly, since auto-loading on use doesn't work + * before udev created the ghost device nodes, and we need it earlier than that. */ { "autofs4", "/sys/class/misc/autofs", true, false, NULL }, - /* early configure of ::1 on the loopback device */ + /* This one we need to load explicitly, since auto-loading of IPv6 is not done when + * we try to configure ::1 on the loopback device. */ { "ipv6", "/sys/module/ipv6", false, true, NULL }, - /* this should never be a module */ + /* This should never be a module */ { "unix", "/proc/net/unix", true, true, NULL }, #if HAVE_LIBIPTC