• Kai Germaschewski's avatar
    do_mount: Move more of the initrd load logic into initrd_load() · 3807a041
    Kai Germaschewski authored
    This just moves a bit of logic out of prepare_namespace() into
    initrd_load(), which means that we now don't reference handle_initrd()
    anymore if CONFIG_BLK_DEV_INITRD is not set (we wouldn't call it anyway),
    so we can put some bits of code under a common #ifdef CONFIG_BLK_DEV_INITRD.
    3807a041
do_mounts.c 20.4 KB