]> git.baikalelectronics.ru Git - kernel.git/commit
initramfs: clean up messages related to initramfs unpacking
authorEric Piel <eric.piel@tremplin-utc.net>
Wed, 6 May 2009 23:03:06 +0000 (16:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 May 2009 23:36:10 +0000 (16:36 -0700)
commitf298360da9d63a14b098c43083eb5b07b7797316
tree24895915fd3a50fd7fb593fd5127d2140b8a9010
parent5e09ae0aae191df2e6cf2be73b12a8c51806a062
initramfs: clean up messages related to initramfs unpacking

With the removal of duplicate unpack_to_rootfs() (commit
12f24b7d26a635592275f914ef7bfa272f08a9fe) the messages displayed do not
actually correspond to what the kernel is doing.  In addition, depending
if ramdisks are supported or not, the messages are not at all the same.

So keep the messages more in sync with what is really doing the kernel,
and only display a second message in case of failure.  This also ensure
that the printk message cannot be split by other printk's.

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
init/initramfs.c