Re: [PATCHv2] init/do_mounts: Add create_dev() failure log

2015-05-27 Thread Andrew Morton
On Tue, 26 May 2015 11:56:58 +0530 Vishnu Pratap Singh wrote: > 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 check/log > present in case of failure, So i have added the log in case it fails to > creat

Re: [PATCHv2] init/do_mounts: Add create_dev() failure log

2015-05-26 Thread Pavel Machek
On Tue 2015-05-26 11:56:58, Vishnu Pratap Singh wrote: > 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 check/log > present in case of failure, So i have added the log in case it fails to > create the root

[PATCHv2] init/do_mounts: Add create_dev() failure log

2015-05-26 Thread Vishnu Pratap Singh
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 check/log present in case of failure, So i have added the log in case it fails to create the root device. It will help in debugging. Signed-off-by: Vishnu Prat