do_mount: Move more of the initrd load logic into initrd_load()
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.
Showing
Please register or sign in to comment