Merge commit 'v2.6.30-rc6' into tracing/core
Merge reason: we were on an -rc4 base, sync up to -rc6 Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -574,11 +574,10 @@ static int __init populate_rootfs(void)
|
||||
if (initrd_start) {
|
||||
#ifdef CONFIG_BLK_DEV_RAM
|
||||
int fd;
|
||||
printk(KERN_INFO "checking if image is initramfs...\n");
|
||||
printk(KERN_INFO "Trying to unpack rootfs image as initramfs...\n");
|
||||
err = unpack_to_rootfs((char *)initrd_start,
|
||||
initrd_end - initrd_start);
|
||||
if (!err) {
|
||||
printk(KERN_INFO "rootfs image is initramfs; unpacking...\n");
|
||||
free_initrd();
|
||||
return 0;
|
||||
} else {
|
||||
@@ -596,15 +595,11 @@ static int __init populate_rootfs(void)
|
||||
free_initrd();
|
||||
}
|
||||
#else
|
||||
printk(KERN_INFO "Unpacking initramfs...");
|
||||
printk(KERN_INFO "Unpacking initramfs...\n");
|
||||
err = unpack_to_rootfs((char *)initrd_start,
|
||||
initrd_end - initrd_start);
|
||||
if (err) {
|
||||
printk(" failed!\n");
|
||||
printk(KERN_EMERG "%s\n", err);
|
||||
} else {
|
||||
printk(" done\n");
|
||||
}
|
||||
if (err)
|
||||
printk(KERN_EMERG "Initramfs unpacking failed: %s\n", err);
|
||||
free_initrd();
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user