[PATCH 2/2] init/main: Trigger re-execution of deferred deferred probe()s

From: Lee Jones
Date: Tue Jul 12 2016 - 12:20:32 EST


Some devices require files from rootfs.

Ensure they are given a chance to re-probe() now that the rootfs is mounted.

Tested-by: Peter Griffin <peter.griffin@xxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
init/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/init/main.c b/init/main.c
index 4c17fda..0b905a1 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1035,6 +1035,7 @@ static noinline void __init kernel_init_freeable(void)
* and default modules
*/

+ deferred_probe_trigger();
integrity_load_keys();
load_default_modules();
}
--
2.9.0