summaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorVishnu Pratap Singh2015-06-26 00:03:37 +0200
committerLinus Torvalds2015-06-26 02:00:42 +0200
commitc69e3c3a0c014e86750e78b7e2ae823f7a9b2cb2 (patch)
tree6beedc654dba473ab2d098a4d92638633601dd5a /fs/namespace.c
parentkasan: remove duplicate definition of the macro KASAN_FREE_PAGE (diff)
downloadkernel-qcow2-linux-c69e3c3a0c014e86750e78b7e2ae823f7a9b2cb2.tar.gz
kernel-qcow2-linux-c69e3c3a0c014e86750e78b7e2ae823f7a9b2cb2.tar.xz
kernel-qcow2-linux-c69e3c3a0c014e86750e78b7e2ae823f7a9b2cb2.zip
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@linux-foundation.org: simplify printk(), use pr_emerg(), display errno] Signed-off-by: Vishnu Pratap Singh <vishnu.ps@samsung.com> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Mike Snitzer <snitzer@redhat.com> Cc: Dan Ehrenberg <dehrenberg@chromium.org> Cc: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions