diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-05-18 04:15:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-18 04:15:35 -0400 |
commit | 1079cac0f4eb7d968395378b1625979d4c818dd6 (patch) | |
tree | d261058d95d27fe7250511d5fad69db30dc17731 /init | |
parent | 5872144f64b34a5942f6b4acedc90b02de72c58b (diff) | |
parent | 1406de8e11eb043681297adf86d6892ff8efc27a (diff) |
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/initramfs.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/init/initramfs.c b/init/initramfs.c index 9ee7b7810417..4c00edc59689 100644 --- a/init/initramfs.c +++ b/init/initramfs.c | |||
@@ -574,11 +574,10 @@ static int __init populate_rootfs(void) | |||
574 | if (initrd_start) { | 574 | if (initrd_start) { |
575 | #ifdef CONFIG_BLK_DEV_RAM | 575 | #ifdef CONFIG_BLK_DEV_RAM |
576 | int fd; | 576 | int fd; |
577 | printk(KERN_INFO "checking if image is initramfs...\n"); | 577 | printk(KERN_INFO "Trying to unpack rootfs image as initramfs...\n"); |
578 | err = unpack_to_rootfs((char *)initrd_start, | 578 | err = unpack_to_rootfs((char *)initrd_start, |
579 | initrd_end - initrd_start); | 579 | initrd_end - initrd_start); |
580 | if (!err) { | 580 | if (!err) { |
581 | printk(KERN_INFO "rootfs image is initramfs; unpacking...\n"); | ||
582 | free_initrd(); | 581 | free_initrd(); |
583 | return 0; | 582 | return 0; |
584 | } else { | 583 | } else { |
@@ -596,15 +595,11 @@ static int __init populate_rootfs(void) | |||
596 | free_initrd(); | 595 | free_initrd(); |
597 | } | 596 | } |
598 | #else | 597 | #else |
599 | printk(KERN_INFO "Unpacking initramfs..."); | 598 | printk(KERN_INFO "Unpacking initramfs...\n"); |
600 | err = unpack_to_rootfs((char *)initrd_start, | 599 | err = unpack_to_rootfs((char *)initrd_start, |
601 | initrd_end - initrd_start); | 600 | initrd_end - initrd_start); |
602 | if (err) { | 601 | if (err) |
603 | printk(" failed!\n"); | 602 | printk(KERN_EMERG "Initramfs unpacking failed: %s\n", err); |
604 | printk(KERN_EMERG "%s\n", err); | ||
605 | } else { | ||
606 | printk(" done\n"); | ||
607 | } | ||
608 | free_initrd(); | 603 | free_initrd(); |
609 | #endif | 604 | #endif |
610 | } | 605 | } |