diff options
| author | Vishnu Pratap Singh <[email protected]> | 2015-06-25 15:03:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-06-25 17:00:42 -0700 |
| commit | c69e3c3a0c014e86750e78b7e2ae823f7a9b2cb2 (patch) | |
| tree | 6beedc654dba473ab2d098a4d92638633601dd5a /scripts/gdb/linux/utils.py | |
| parent | bffacb9132a306b7e22bb6366e5b277f20f67465 (diff) | |
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.
[[email protected]: simplify printk(), use pr_emerg(), display errno]
Signed-off-by: Vishnu Pratap Singh <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: Dan Ehrenberg <[email protected]>
Cc: Miklos Szeredi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions