The patch titled Subject: init/do_mounts.c: add create_dev() failure log has been removed from the -mm tree. Its filename was init-do_mounts-add-create_dev-failure-log.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Vishnu Pratap Singh <vishnu.ps@xxxxxxxxxxx> Subject: init/do_mounts.c: add create_dev() failure log If create_dev() function fails to create the root mount device (/dev/root), then it goes to panic as root device not found but there is no printk in this case. So I have added the log in case it fails to create the root device. It will help in debugging. [akpm@xxxxxxxxxxxxxxxxxxxx: simplify printk(), use pr_emerg(), display errno] Signed-off-by: Vishnu Pratap Singh <vishnu.ps@xxxxxxxxxxx> Acked-by: Pavel Machek <pavel@xxxxxx> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Cc: Mike Snitzer <snitzer@xxxxxxxxxx> Cc: Dan Ehrenberg <dehrenberg@xxxxxxxxxxxx> Cc: Miklos Szeredi <mszeredi@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/do_mounts.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -puN init/do_mounts.c~init-do_mounts-add-create_dev-failure-log init/do_mounts.c --- a/init/do_mounts.c~init-do_mounts-add-create_dev-failure-log +++ a/init/do_mounts.c @@ -533,8 +533,13 @@ void __init mount_root(void) } #endif #ifdef CONFIG_BLOCK - create_dev("/dev/root", ROOT_DEV); - mount_block_root("/dev/root", root_mountflags); + { + int err = create_dev("/dev/root", ROOT_DEV); + + if (err < 0) + pr_emerg("Failed to create /dev/root: %d\n", err); + mount_block_root("/dev/root", root_mountflags); + } #endif } _ Patches currently in -mm which might be from vishnu.ps@xxxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html